14 Commits

Author SHA1 Message Date
Toxa
ae0adcb633 Z80/SM83: convert abs() to the new calling convention; use REENTRANT macro in stdlib.h 2024-05-07 18:05:23 +03:00
bbbbbr
e51f54de21 Docs: 4.1.0 Misc Updates 2022-08-14 23:15:02 -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
0be68c640a MSXDOS: getc/gets 2022-02-19 18:21:13 +03:00
Toxa
0a28368ce3 fix drawing.h gprint*() function prototypes; fix stdlib ato*() function prototypes 2021-09-14 14:23:55 +03:00
Toxa
a270bd6997 prepare for SDCC >= #12608 2021-09-14 12:59:34 +03:00
bbbbbr
4fd54edfc9 Docs: 4.0.5
- Update descriptions for some flags and bits in hardware.h
- Add description of return value for gbdecompress
- Document DMG_PALETTE and misc cpu types in gb.h
- Updates for stdlib integer conversion
2021-09-09 23:02:47 -07:00
Toxa
ab9779f3f5 SMS/GG: basic stdio.h support 2021-08-19 22:12:43 +03:00
Toxa
0e76940bf9 calloc/malloc/realloc/free and generic memmove 2021-01-31 23:53:03 +03:00
bbbbbr
93498b3dfc Docs: Update and add doxygen compatible header file comments (no source edits) 2020-11-03 21:30:05 -08:00
toxa
da13dc6433 fast labs() and ltoa() 2020-09-14 16:38:09 +03:00
toxa
df1aa7af8b fast itoa(); duplicate files in *.lib removed. 2020-09-14 01:34:36 +03:00
toxa
0b95577e60 bsearch and qsort 2020-05-20 15:25:19 +03: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