First of all, this is really cool and I think the closest thing I have seen to 'readable' assembly. Tiny nitpick: doesn't running asm still require an operating system? I haven't read all of the code but I assume that there are instructions for I/O or other traps that require the OS. Isn't the OS just the layer between the hardware resources and programs that want to access those resources?
I think it really means floppy bird IS an OS, albeit one that can get nothing done but a flopping bird
Floppy Bird: A Flappy Bird clone in 16-bit x86 assembly
21–30 of 73 posts
Re: Floppy Bird: A Flappy Bird clone in 16-bit x86 assembly
#22Re: Floppy Bird: A Flappy Bird clone in 16-bit x86 assembly
#23First of all, this is really cool and I think the closest thing I have seen to 'readable' assembly. Tiny nitpick: doesn't running asm still require an operating system? I haven't read all of the code but I assume that there are instructions for I/O or other traps that require the OS. Isn't the OS just the layer between the hardware resources and programs that want to access those resources?
Re: Floppy Bird: A Flappy Bird clone in 16-bit x86 assembly
#24Does anyone know why GIMP is listed as a build dependency? I don't see it being called anywhere in the Makefile.
Re: Floppy Bird: A Flappy Bird clone in 16-bit x86 assembly
#25First of all, this is really cool and I think the closest thing I have seen to 'readable' assembly. Tiny nitpick: doesn't running asm still require an operating system? I haven't read all of the code but I assume that there are instructions for I/O or other traps that require the OS. Isn't the OS just the layer between the hardware resources and programs that want to access those resources?
The great 8-bit systems of the 80's - Apple II, C64 - booted their apps and games off of floppies all the time.
Re: Floppy Bird: A Flappy Bird clone in 16-bit x86 assembly
#26So I was playing with it and it has this weird linux on it that lets you set it up to very slowly browse the web and such, but it wasn't very interesting, all told.
When I saw this project come up, I grabbed the .img, wrote it to a spare usb stick and damn if the thing didn't just boot up to floppy bird. Nice work! Now I wonder what other dumb PCs I have sitting around that can boot it...
Re: Floppy Bird: A Flappy Bird clone in 16-bit x86 assembly
#27Re: Floppy Bird: A Flappy Bird clone in 16-bit x86 assembly
#28Earlier quoted context omitted.
The person who wrote this wrote it to be booted directly from BIOS. That means it must handle everything an OS would otherwise do for it: bootloader, resource management, hardware access, random number generation, etc. So a project like this has great value as an introduction to low level systems and OS development.
As someone who has written no-os code, you do not need to do everything the OS does. If you do not mind giving up most of your RAM, you can stick to realmode and take advantage of the BIOS functions (you can work around the RAM limitation by jumping between modes). If your computer has UEFI, you have access to a much more advanced set of functions, and (for many purposes) can target that. I haven't done anything beyo…
Re: Floppy Bird: A Flappy Bird clone in 16-bit x86 assembly
#29Super sweet! Does it have a switch that lets the computer cheat? http://www.catb.org/jargon/html/story-of-mel.html
Re: Floppy Bird: A Flappy Bird clone in 16-bit x86 assembly
#30First of all, this is really cool and I think the closest thing I have seen to 'readable' assembly. Tiny nitpick: doesn't running asm still require an operating system? I haven't read all of the code but I assume that there are instructions for I/O or other traps that require the OS. Isn't the OS just the layer between the hardware resources and programs that want to access those resources?
It might or might not require an OS; you can implement the hardware access code directly into the program.