Commit Graph

154 Commits

Author SHA1 Message Date
Wolfgang Thaller
606d434731 experiment with variations on stack adjustment 2014-09-24 02:54:00 +02:00
Wolfgang Thaller
7566e54823 PrepareHeaders: generate __attribute__((__pascal__)) and __attribute__((__magicinline__)) 2014-09-24 02:54:00 +02:00
Wolfgang Thaller
54d890514a __magicinline__ attribute to suppress cse on magic_inline functions 2014-09-24 02:54:00 +02:00
Wolfgang Thaller
a73165f37f pascal calls! 2014-09-24 02:53:59 +02:00
Wolfgang Thaller
197178056d rename stdcall -> pascal 2014-09-24 02:53:59 +02:00
Wolfgang Thaller
c82bcc4ee6 add a few things to .gitignore 2014-09-24 02:53:59 +02:00
Wolfgang Thaller
f894ffe7a5 Merge pull request #5 from clehner/master
Add some more types
2014-09-23 09:07:51 +02:00
Charles Lehner
eb5ac1b43b Add some more types (#3) 2014-09-22 20:50:11 -04:00
Wolfgang Thaller
d78125c6b6 have asfilter deal with tail calls to toolbox functions (preventing undefined __magic_inline errors, see issue #2) 2014-09-22 22:16:55 +02:00
Wolfgang Thaller
6a08b8ed6c add many more types to types.txt (cf. issues #2, #3) 2014-09-22 22:13:08 +02:00
Wolfgang Thaller
007ccc92ff update README.md 2014-09-22 21:45:57 +02:00
Wolfgang Thaller
7c9e59e73a some performance optimizations in Console and raytracer2.cc 2014-09-21 22:38:48 +02:00
Wolfgang Thaller
757a9c715f Merge branch 'gcc-4.9.1-upstream'
Conflicts:
	gcc/gcc/c-family/c-common.c
	gcc/gcc/config/m68k/m68k.c
2014-09-21 19:41:42 +02:00
Wolfgang Thaller
449227a01f upgrade to gcc 4.9.1 2014-09-21 19:33:12 +02:00
Wolfgang Thaller
269b6a0668 fix off-by-one error in pascal string implementation 2014-09-20 02:24:56 +02:00
Wolfgang Thaller
d85754fa6c Launcher: A utility program for mini vMac 2014-09-20 02:18:58 +02:00
Wolfgang Thaller
4116636965 "\p*** Pascal String literals ***" are now supported. 2014-09-20 02:17:52 +02:00
Wolfgang Thaller
2c6941895a fix incompatibility with gcc 4.9 (for the record: gcc was right) 2014-09-19 19:13:46 +02:00
Wolfgang Thaller
4b12356064 make build script slightly more robust 2014-09-19 19:02:17 +02:00
Wolfgang Thaller
9976339d22 disable building gcc docs to work around texinfo 5.0 strictness problems (should fix issue #1) 2014-09-19 09:31:51 +02:00
Wolfgang Thaller
fdec31a641 The compiler now generates MacsBug function names for debugging 2014-09-19 02:11:50 +02:00
Wolfgang Thaller
58b700e49e add AsmTest program, with experiments on MacsBug function names 2014-09-19 01:49:52 +02:00
Wolfgang Thaller
4ab1a098d6 remove libgloss, as we aren't using it 2014-09-19 01:41:27 +02:00
Wolfgang Thaller
c8ac7aff27 convert raytracer.cc to plain C 2014-09-17 03:39:50 +02:00
Wolfgang Thaller
534ef17a1f Move Console to a library: We can now compile a standard Hello World program. 2014-09-17 03:35:18 +02:00
Wolfgang Thaller
d83818476d use std::regex instead of boost::regex when available 2014-09-17 02:49:17 +02:00
Wolfgang Thaller
ff0586d7f7 update to work with Universal Interfaces 3.4 2014-09-17 02:10:04 +02:00
Wolfgang Thaller
e5e8352a32 work around strange link error with clang on Mac OS X 2014-09-17 02:02:22 +02:00
Wolfgang Thaller
822c9f3dbf fix indentation before it is too late 2014-09-15 00:43:30 +02:00
Wolfgang Thaller
02c92021ab some minor cleanup 2014-09-15 00:23:20 +02:00
Wolfgang Thaller
dea5fa2a21 App2: hook up console for reading 2014-09-15 00:00:45 +02:00
Wolfgang Thaller
f4a8005a8f fix console font 2014-09-14 23:59:35 +02:00
Wolfgang Thaller
2553c625d1 README: More info on Universal Interfaces 2014-09-13 01:54:02 +02:00
Wolfgang Thaller
6faf706618 update README 2014-09-13 01:03:45 +02:00
Wolfgang Thaller
ebdaf6b959 fix bug in realloc implementation 2014-09-13 00:20:07 +02:00
Wolfgang Thaller
cdee6c52cf --disable-doc when building binutils 2014-09-13 00:19:45 +02:00
Wolfgang Thaller
f92645c821 Update binutils to version 2.24 to work around a build problem 2014-09-13 00:14:23 +02:00
Wolfgang Thaller
7bed8cf68d remame README -> README.md 2012-04-25 00:54:17 +02:00
Wolfgang Thaller
82203b6b7d add README, COPYING and license notices 2012-04-24 03:22:36 +02:00
Wolfgang Thaller
dbc71a294d handle macro-less inline procedures 2012-04-22 17:56:00 +02:00
Wolfgang Thaller
8eeb63b4f3 remove CurrentA5/A5 restoration hack (gcc is now patched to consider A5 fixed) 2012-04-22 12:39:51 +02:00
Wolfgang Thaller
8c266d6ef4 MakeAPPL: add SIZE resource 2012-04-21 18:52:50 +02:00
Wolfgang Thaller
6b99493e6e silence message 2012-04-20 19:28:34 +02:00
Wolfgang Thaller
1c3651a81b fix parameter passing for booleans 2012-04-20 01:25:01 +02:00
Wolfgang Thaller
7c239da15f install asfilter in build script 2012-04-15 03:35:14 +02:00
Wolfgang Thaller
027af8eb8a use __magic_inline hack & stdcall for toolbox calls 2012-04-15 03:34:57 +02:00
Wolfgang Thaller
390818e425 avoid transformations on __magic_inline functions 2012-04-15 03:34:33 +02:00
Wolfgang Thaller
a79c598392 make register usage match mac toolbox expectations (d0-d2, a0-a1 volatile, a5 fixed) 2012-04-15 03:33:23 +02:00
Wolfgang Thaller
4282f24fb4 fix stdcall: implement call_pop instruction 2012-04-15 03:32:29 +02:00
Wolfgang Thaller
a609de329b whitespace 2012-04-13 22:03:51 +02:00