23 Commits

Author SHA1 Message Date
Toxa
4ff8549fda force --no-optsdcc-in-asm while building the library and in the lcc 2025-01-19 02:25:53 +03:00
Toxa
bd0581f3e8 ALL TARGETS: remove legacy support for library models (never worked), remove legacy support for multiple assemblers (never worked) 2022-06-09 18:31:58 +03:00
MichelIwaniec
59a6dafc6b Add font support for "nes" target
* Add font data files to nes.lib
* Add 6502 implementations of font.s, font_color.s, color.s and mode.s
* Add 6502 implementation of set_1bit_data.s (1bpp CHR uploads)
* Add 6502 implementation of set_data.s (2pp CHR uploads - assumes GB CHR format)
* Enable examples/cross-platform/fonts for "nes" target
2022-06-09 14:28:15 +01: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
3bdf668e22 migrate to SDCC 4.2 2022-04-01 18:45:25 +03:00
Toxa
db22361187 initial MSX DOS support 2022-02-19 14:02:41 +03:00
bbbbbr
92ae7f5fa3 Megaduck: Lib makefile: add platform to lib default list 2021-10-15 11:34:37 -07:00
Toxa
08bcc9fce5 remove SDCC_z80 definition (defined by sdcc for z80), removed GBDK definition (not used), in _divulong.c use __SDCC_STACK_AUTO, __SDCC_z80, __SDCC_gbz80 defined by SDCC itself 2021-09-19 00:53:59 +03:00
Toxa
b02c1dc4c9 SMS/GG: submap functions, large_map example, set_*_tiles()/set_tile_map() offset zero coordinates to the corner of the screen on GG 2021-08-25 23:33:43 +03:00
Toxa
d931b8caab initial version of GG/SMS CRT0 2021-08-02 19:11:16 +03:00
Toxa
c10b149574 changed format of the platform and target defines 2021-07-28 13:32:57 +03:00
Toxa
0901f21d1d add some files for z80 port of standard library (just to check if it compiles) 2021-07-27 23:42:24 +03:00
Toxa
933f6e769e checking of target in hardware.h 2021-07-27 01:30:56 +03:00
Toxa
e8bcb2fb93 fix building and installing of libraries 2021-07-27 01:11:49 +03:00
Toxa
f0ce233a6f library building optimization options 2020-12-16 16:17:28 +03:00
Zal0
be0d511279 fixed windows issues with backslashes in SDCCDIR 2020-09-20 17:07:03 +02:00
toxa
c2dd2d1b27 Archiving the library with SDAR 2020-09-08 18:58:37 +03:00
Zal0
04c9b292d8 as removed and using the new one... in case someone wants to take a look and see what's happening 2020-05-01 19:58:49 +02:00
Zal0
7d03a53709 removed exe extension 2020-04-13 07:15:24 +02:00
Zal0
6f1db98ec0 compiling gbdk libs with the old asm since the new one seems to have issues with .org directives 2020-04-12 14:19:55 +02:00
Zal0
e395612451 removed references to my local path 2020-04-11 13:30:20 +02:00
Zal0
9bb880035f removed sdcc and added maccer, fixed some compilation issues 2020-04-05 10:42:08 +02: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