15 Commits

Author SHA1 Message Date
99a3e94afd scu: rename DRAW_END to SPRITE_DRAW_END 2024-03-31 16:00:33 +08:00
e449090df0 m68k: improve build process
This includes several improvements to the link flags, link script,
common makefile, etc..

Previously bss initialization in m68k start was incorrect. m68k can
now call static initializers if necessary.
2023-06-27 18:31:06 +00:00
2e4d2775b7 add start.cpp for C++ runtime
Previously static constructors were not being called.

This also improves a few bit definitions.
2023-06-08 22:51:59 +00:00
949116b285 add misc definitions / asserts 2023-06-02 15:52:22 -07:00
d58f0a9e32 minor improvements 2023-03-12 01:52:51 +00:00
0eac09e58a add gc-sections
This also fixes filename ordering in the iso9660 structure when the source file
is in a subdirectory relative to where mkisofs is called.
2023-01-27 00:08:53 -08:00
0f99452759 fix permissions for segasmp/lib 2023-01-26 22:19:55 -08:00
0a26d755c9 use cache-through addresses 2023-01-25 15:58:40 -08:00
e31d2c55fd library-ify
move Makefile to common.mk and add a LIB variable that makes it easy to use this
from a subdirectory.

Also fix section alignment issues in .text
2023-01-23 20:36:15 -08:00
6640c37a1d add several incomplete experiments
- add code loading for m68k

- incomplete scsp experiments

  - the register definitions should be fairly complete,
    though I did not produce actual sound yet

- fix type.h definitions

- incomplete cdblock register definitions
2023-01-23 16:50:42 -08:00
343f100a90 add bss symbols 2023-01-09 21:50:06 -08:00
a1a67522fe scu, smpc, and sh2 register definitions
This also improves sys_ip slightly.
2023-01-08 11:53:54 -08:00
0d04c00782 zeroize nbg planes 2023-01-07 18:16:25 -08:00
286f116d15 experiment with aliasing 2023-01-05 22:33:54 -08:00
e59d6da0a4 initial 2023-01-05 21:46:12 -08:00