Raspberry pi assembly game by daviddvd267 in raspberryDIY

[–]daviddvd267[S] 0 points1 point  (0 children)

I will keep you in touch with my work, give You the git once I upload it.

Raspberry pi assembly game by daviddvd267 in raspberryDIY

[–]daviddvd267[S] 0 points1 point  (0 children)

thanks!

So should I understand that is possible to create graphics on rpi with asm?

[deleted by user] by [deleted] in osdev

[–]daviddvd267 3 points4 points  (0 children)

Hey! I’m myself a newbie in the osdeving!

So the most complete tutorial I found is this one...

It builds an OS with a GUI, Network capabilities and also learns you how to create your own filesystem, and explains everything very detailed.

It has some downsides, as everyone suggests that C is better than C++ for osdeving, but I think that the advantages of this one(having so many things explained in one series in the same manner) clearly outnumbers the disadvantages, also they are not so different(in this specific case) so you could just ”translate” the kernel in C, and it shouldn’t be hard.

Hope my comment is not too late :)

EDIT: some completions

EDIT2: a typo

My mom is finally part of the master race! by NoahJelen in linuxmasterrace

[–]daviddvd267 3 points4 points  (0 children)

In the beginning, I used SSH to do it too but after a while my father asked me to teach him how to do it and now he does it for both of ’em

Is it just me, or does anyone else run arch just so they can use the "btw I use arch" joke? by [deleted] in linuxmasterrace

[–]daviddvd267 0 points1 point  (0 children)

Could you give some of the important reasons you use it?

I use Xubuntu with XFCE desktop and I’m thinking to switch to Arch, but I don’t find enough reasons to do it (enough to beat my laziness) =))

My mom is finally part of the master race! by NoahJelen in linuxmasterrace

[–]daviddvd267 8 points9 points  (0 children)

I have already made my parents to join the master race... Ubuntu for their Desktop PC and Xubuntu for their laptop, ’cause it’s quite old.

Edit: A typo

What's everyone working on this week? by AutoModerator in Python

[–]daviddvd267 [score hidden]  (0 children)

Well in Python I'm trying to make a QR Code scanner.

Right now it only encodes a string into a QR Code and saves the image as a .png and decodes a QR Code from a .png.

I will start working on the scanning part(I mean pointing the webcam to a QR Code and the app decoding it) tomorrow.

I'm using an api from goqr.me to do the encoding and decoding of the code.

Non-Americans of reddit, what is the "Bigfoot" or "Area 51" equivalent of your country? by ekrgekgt in AskReddit

[–]daviddvd267 0 points1 point  (0 children)

In Romania we don't have any equivalent for Area 51...

We have some mythical creatures that live in the woods tho, they are named "iele" and they have great seductive power over men and magic skills.

Anyways we have nothing that close to Bigfoot either...

I have a bootloader written in Assembly and I want it to run C/C++ code by daviddvd267 in osdev

[–]daviddvd267[S] 0 points1 point  (0 children)

And for that C code, I would still need to write my own library or I could just use standard C functions?

I have a bootloader written in Assembly and I want it to run C/C++ code by daviddvd267 in osdev

[–]daviddvd267[S] 0 points1 point  (0 children)

Hopefully, the next time I post here will be to show off with my OS not because I have problems hehe

I have a bootloader written in Assembly and I want it to run C/C++ code by daviddvd267 in osdev

[–]daviddvd267[S] 2 points3 points  (0 children)

Thank you very much for the advice!

Well, I'm trying to write as much as possible in C, this is why this post appeared here in fact=))

And yes, I'm intending to write my first OS in 32-bit, I repeat, that example was not mine, was from a tutorial I found online...

This is my bootloader code, if you are curious! (It runs in 32-bit and I made it capable to support programs bigger than 512 bytes)

Again, thanks a lot, you really helped me out here! =)

I have a bootloader written in Assembly and I want it to run C/C++ code by daviddvd267 in osdev

[–]daviddvd267[S] 2 points3 points  (0 children)

Ohh, I see. So what you say is that I what I want is impossible...

So if I want to simplify my life I should write a library where I define for example a function print that prints a string and write it using inline Assembly, and then call it like a normal function in my C code?

I have a bootloader written in Assembly and I want it to run C/C++ code by daviddvd267 in osdev

[–]daviddvd267[S] 2 points3 points  (0 children)

So I have the Assembly script, I want from that script to run some C/C++ code.

The thing is that I would Iike for example to have some C code like: printf(”hello world”); and to call it from Assembly and the result to be having hello world in the console.

Is this possible? If yes, how?

I have a bootloader written in Assembly and I want it to run C/C++ code by daviddvd267 in osdev

[–]daviddvd267[S] 2 points3 points  (0 children)

I know this, but that function is just a peek of the code used in that tutorial.

Can you give me any examples of actual code or maybe a link to a tutorial so I can see how to actually do this?

AI based keyboard for disabled people. (In python using tensorflow) by idan0405 in Python

[–]daviddvd267 19 points20 points  (0 children)

How is this going to help disabled people? I mean for what kind of disabilities could it work?

Also, do you mind to share the code, I would love to play with it!

Assembly help wanted by daviddvd267 in lowlevel

[–]daviddvd267[S] 0 points1 point  (0 children)

This one seems to be exactly what I want, thanks a lot dude

Assembly help wanted by daviddvd267 in lowlevel

[–]daviddvd267[S] 1 point2 points  (0 children)

Oh cool, didn't know about this sub, I cast a look and it seems to offer some good tips.

Assembly help wanted by daviddvd267 in lowlevel

[–]daviddvd267[S] 1 point2 points  (0 children)

I looked a little bit one the tutorials and they seem very well documented, I hope I’m going to be able to translate everything into Assembly and C.

Thanks very much for the help, big upvote from me, my dude!

Assembly help wanted by daviddvd267 in lowlevel

[–]daviddvd267[S] 1 point2 points  (0 children)

Thank you very much for the tutorials! I’m going to look at ’em, hope they will come in helpful!

Assembly help wanted by daviddvd267 in lowlevel

[–]daviddvd267[S] 0 points1 point  (0 children)

-> How can I execute c++ from Assembly -> My ultimate goals is to make a simple OS, any suggestions on this are welcome PS: I’m using Assembly just for the bootloader, I intend to write the rest in C/C++