13 Commits

Author SHA1 Message Date
Toxa
1c4a6e16ed LIBRARY: change calling convention for printf()/sprintf() 2023-11-15 16:29:13 +03:00
Toxa
83d4744729 fix most of the "function declarator with no prototype" warnings 2023-02-06 01:24:16 +03:00
bbbbbr
e784f9ff9d Docs: header content and misc
- Notes about explicit cast to printf, sprintf, etc
- Clarify set_*_submap x,y parameters
- Link hide_sprite, hide_sprites_range, HIDE_SPRITES
- Note VBK_REG is cgb only
2022-06-12 00:46:59 -07:00
MichelIwaniec
983766b21c Add mos6502.lib build for GBDK installation
* Add assembly support routines from sdcc-svn/sdcc/device/lib/mos6502/ to gbdk-lib/libc/asm/mos6502/
* Add gbdk-lib/libc/asm/mos6502/Makefile, based on corresponding sm83 / z80 Makefiles
* Add CPU-specific include files to gbdk-lib/include/asm/mos6502/, based on corresponding sm83 / z80 include files
* Update gbdk-lib/include/asm/sm83/types.h and gbdk-lib/include/asm/z80.types.h to define REENTRANT as no-op
* Update gbdk-lib/include/stdio.h to use REENTRANT keyword for printf and sprintf
* Update gbdk-lib/include/stdlib.h to prevent #if-clause from redefining __reentrant as a no-op
* Update gbdk-lib/include/stdatomic.h to consider mos6502 in #if-clause
* Update gbdk-lib/libc/_divulong.c to consider mos6502 in #if-clause
* Add mos6502 to PORTS in Makefile, gbdk-lib/Makefile.common and gbdk-lib/libc/Makefile
* Update Makefile to include sdas6500 and sdld in sdcc-install rule
2022-06-06 00:38:21 +01:00
Toxa
fc7c9b39fd fix printf()/sprintf() for the new SDCC; fix COMPAT_PALETTE() macro for GB 2021-09-22 17:07:41 +03:00
Toxa
a270bd6997 prepare for SDCC >= #12608 2021-09-14 12:59:34 +03:00
Toxa
9083b38f8a SMS/GG: console.h support 2021-08-20 15:10:21 +03:00
Toxa
ab9779f3f5 SMS/GG: basic stdio.h support 2021-08-19 22:12:43 +03:00
bbbbbr
7a9a1baa71 Docs: Add guidance about passing chars to vararg functions such as printf(), fix markdown page filename, fix banking calculation 2021-01-28 19:18:45 -08:00
bbbbbr
ee906b5e47 Docs: Add general docs pages in markdown format and a couple updates to header files 2021-01-22 22:16:29 -08:00
bbbbbr
bfabd2c210 Docs: Updates to formatting and content of Doxygen compatible header comments 2020-11-18 20:56:54 -08:00
bbbbbr
93498b3dfc Docs: Update and add doxygen compatible header file comments (no source edits) 2020-11-03 21:30:05 -08:00
Zal0
11a44c3cad gbdk 2-96a from sourceforge https://sourceforge.net/projects/gbdk/files/gbdk/2.96/ 2020-04-04 18:34:45 +02:00