Floppy Bird: A Flappy Bird clone in 16-bit x86 assembly
1–10 of 73 posts
Re: Floppy Bird: A Flappy Bird clone in 16-bit x86 assembly
#2Re: Floppy Bird: A Flappy Bird clone in 16-bit x86 assembly
#3This is really cool. Is there a practical reason why you would write a game in assembly (speed? portability?)
Re: Floppy Bird: A Flappy Bird clone in 16-bit x86 assembly
#4This is really cool. Is there a practical reason why you would write a game in assembly (speed? portability?)
Assembly is about as nonportable as you can get. Hardware access (not exposed by other languages), speed, and possibly executable size are the practical reasons one would write in assembly. The second and third are almost entirely outdated - storage of executables is free relative to storage of data; hardware speeds have made "slow" programs plenty fast for most things; and compilers can do better than you can quickl…
Re: Floppy Bird: A Flappy Bird clone in 16-bit x86 assembly
#5Earlier quoted context omitted.
Assembly is about as nonportable as you can get. Hardware access (not exposed by other languages), speed, and possibly executable size are the practical reasons one would write in assembly. The second and third are almost entirely outdated - storage of executables is free relative to storage of data; hardware speeds have made "slow" programs plenty fast for most things; and compilers can do better than you can quickl…
Thanks for the in-depth answer. Was there a hardware access issue here, or did you just write this for the challenge/practice?
Re: Floppy Bird: A Flappy Bird clone in 16-bit x86 assembly
#6https://github.com/icebreaker/floppybird/blob/master/src/mai...
Nicely structured code! I'm almost tempted to port it to amd64, just for fun. After all we really don't need any more x86/16bit example code, we need more amd64 code! :-)
Re: Floppy Bird: A Flappy Bird clone in 16-bit x86 assembly
#7This is really cool. Is there a practical reason why you would write a game in assembly (speed? portability?)
Re: Floppy Bird: A Flappy Bird clone in 16-bit x86 assembly
#8This is really cool. Is there a practical reason why you would write a game in assembly (speed? portability?)
Assembly is about as nonportable as you can get. Hardware access (not exposed by other languages), speed, and possibly executable size are the practical reasons one would write in assembly. The second and third are almost entirely outdated - storage of executables is free relative to storage of data; hardware speeds have made "slow" programs plenty fast for most things; and compilers can do better than you can quickl…
http://spectrum.ieee.org/static/interactive-the-top-programm...
Re: Floppy Bird: A Flappy Bird clone in 16-bit x86 assembly
#9Does it have a switch that lets the computer cheat?
Re: Floppy Bird: A Flappy Bird clone in 16-bit x86 assembly
#10This is just beautiful: https://github.com/icebreaker/floppybird/blob/master/src/mai... Nicely structured code! I'm almost tempted to port it to amd64, just for fun. After all we really don't need any more x86/16bit example code, we need more amd64 code! :-)