Commit Graph

14 Commits

Author SHA1 Message Date
Ryan Schmidt 8f68ffd203 Declare all C function parameters
Specify parameters for all C functions. Not specifying parameters is the
same as specifying "void" in C++ and in C23 and later but that's not the
case in C prior to C23.

Compile C files with the same warnings as C++ files, additionally making
the strict prototypes warning an error to catch such problems in the
future. This commit isn't intended to address all the other warnings now
being emitted.
2022-12-05 06:48:30 -06:00
Wolfgang Thaller 884273fce1 use plain GetResource instead of Get1Resource during initialization (#118)
Get1Resource is not in Inside Mac 1-3 and doesn't work with the original system software. And at this point, we know that our own resource file is current.
2021-01-12 22:09:44 +01:00
Wolfgang Thaller e5185d23c3 Switch tab-indented files to 4-space indent 2019-08-18 13:21:00 +02:00
Wolfgang Thaller bbc3a1f049 Fix crashes caused by 68K relocations past the end of sections; still no idea what's going on. 2019-01-08 22:58:30 +01:00
Wolfgang Thaller 9d304134f2 Fix interaction between `pascal` and `pragma parameter` (pascal should be ignored) 2018-05-07 22:41:29 +02:00
Wolfgang Thaller a4442e6984 make Launch and Chain work in multi segment apps without MultiFinder 2018-04-27 09:05:26 +02:00
Wolfgang Thaller 5639d39ae7 LoadSeg: assert to MacsBug when loading CODE fails 2018-01-09 00:28:06 +01:00
Wolfgang Thaller 2536e4ff65 add a missing cache flush, fixing some crashes on real 68040s 2017-10-28 01:35:15 +02:00
Wolfgang Thaller 19277b3d2e declaring _sbss as an array prevents warnings when zeroing it 2017-10-08 20:55:24 +02:00
Wolfgang Thaller 24bee35d90 implement UnloadSeg on 68K 2017-10-07 02:02:42 +02:00
Wolfgang Thaller 4897a9e039 Fix cache flushing 2017-09-28 17:51:19 +02:00
Wolfgang Thaller 68c43b7a39 SegmentMap, code flushing, cleanup 2017-09-27 00:30:06 +02:00
Wolfgang Thaller 8a2038601a Exceptions now work in multiseg 2017-09-26 20:37:28 +02:00
Wolfgang Thaller d08331584e MultiSeg Apps: First working version (exceptions don't work) 2017-09-26 11:27:53 +02:00