8 Commits

Author SHA1 Message Date
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
3bdf668e22 migrate to SDCC 4.2 2022-04-01 18:45:25 +03:00
Toxa
216a37aaf1 fix library structure (invalid headers were used because of incorrect using of #if directive) 2021-08-18 17:22:01 +03:00
Toxa
0e76940bf9 calloc/malloc/realloc/free and generic memmove 2021-01-31 23:53:03 +03:00
Toxa
ea63fae0c9 memset/memcpy minor enhancements 2020-12-19 23:38:30 +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
435b046011 fixed an issue with ___memcpy and memset(): https://github.com/Zal0/gbdk-2020/issues/17
added support for assert()
2020-06-06 16:45:37 +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