11 Commits

Author SHA1 Message Date
9fd4443c35 common.mk: separate cflags and opt 2023-07-10 15:39:32 -07: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
09c1fc9267 scsp: use 32-bit access for SA 2023-06-23 10:06:16 +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
922fc587bc m68k: library-ifiy
This makes the m68k make rules usable from other makefiles.

This also adds scsp start address macros.

The sound.c example-fragment is deleted, as a better version now exists
in saturn-examples.
2023-05-16 18:20:57 +00: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
102304e841 improve common.mk
This makes it possible to produce more than one iso/cue, lifting a bit more work
to the outside Makefile.
2023-01-24 23:24:56 -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