The language abstractions make it relatively easy to implement ideas and algorithms.Allows for getting up and running faster than with ASM, especially when building on top of GBDK-2020 and ZGB.Code may not be easily shared with ports of a game on other platforms.Ĭ will typically be used with the SDCC compiler and GBDK-2020 or ZGB, though it can also be used on its own without a framework or with a different compiler/dev kit (such as z88dk open in new window).Will require more time and learning to get up and running when compared with C. ![]() It's quite verbose and sometimes tedious.It takes a special kind of work to write optimized ASM code.When well written it allows for maximum speed and efficiency on the limited resources of the Game Boy hardware.Most games and programs for the Game Boy written in ASM will use RGBDS or WLA-DX. It determines how much work is involved, what will be possible, and how fast it will be able to run. The choice of programming language is important and can have a very large effect on a project. The Game Boy Color can unlock additional functionality, such as more fleshed-out color, a double-speed CPU, twice the video RAM and four times the RAM! (With caveats, obviously.) # Languages The Super Game Boy adds a few minor things, such as a customizable screen border, and some crude color. Suddenly not so much, eh? It also has 8 kB of RAM, and 8 kB of video RAM a 160x144 px LCD (thus slightly wider than it's tall), 4 colors, and 4-channel audio. Its LCD boasts 60 fps, which rounds up to between 50,000 and 80,000 instructions per frame. Given that an instruction takes approximately 2 to 3 cycles, this gives the CPU a capacity of 333,000~500,000 instructions per second. The original Game Boy, codenamed the DMG, has a 1 MHz CPU. ![]() I will also provide some "good practice" tips, both for C and ASM, if you have already made up your mind or are already using one of these. The purpose of this document is to provide some insights and help you make the better choice if you're starting a new project.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |