Wolfgang Thaller
03a2a6d215
Fix a problem in startup code that suddenly popped up.
...
Crash sometimes caused by global codeHandle being allocated in BSS section.
While we're at it, clean up code, add optional assert()s, and even comments.
2015-07-21 23:16:59 +02:00
Wolfgang Thaller
f1c4fe3a22
MakeAPPL is now obsolete, as everything it does can be done by Rez
2015-07-20 20:05:38 +02:00
Wolfgang Thaller
f549ead8ac
have startup code ensure that code resource is locked.
2015-07-20 02:02:28 +02:00
Wolfgang Thaller
7aaa3174df
One more example: a System Extension (INIT)
2015-07-18 01:14:43 +02:00
Wolfgang Thaller
1cc5202ccf
Reorganize startup code (make some parts publicly available)
2015-07-17 21:07:03 +02:00
Wolfgang Thaller
0561012bb6
Add GCC Runtime Library Exception to license for libretro
2015-07-15 23:23:19 +02:00
Wolfgang Thaller
30ca7cce42
More glue code.
2014-11-08 00:40:15 +01:00
Wolfgang Thaller
3f2a63ff40
configure gcc to pass the right linker flags & simplify CMakeLists
...
It is no longer necessary to pass special compiler options in order to compile an application.
2014-09-30 16:25:27 +02:00
Wolfgang Thaller
4e766452b4
reduce namespace pollution from console library
2014-09-30 16:25:27 +02:00
Wolfgang Thaller
c9f832b2c9
malloc: set errno on out-of-memory
2014-09-30 16:25:26 +02:00
Wolfgang Thaller
3911cb2fde
_start(): Use exit() instead of ExitToShell()
2014-09-30 16:25:26 +02:00
Wolfgang Thaller
e6df3abfe0
clean up _start(): it is now safe to call OS traps without inline assembly.
2014-09-30 16:25:26 +02:00
Charles Lehner
6f2812ca65
Add OpenDriver and CloseDriver glue
2014-09-28 22:54:46 -04:00
Charles Lehner
fa39132cdc
Add GetWDInfo glue
2014-09-28 11:18:27 -04:00
Charles Lehner
5ec06b0605
Add SetEOF
2014-09-26 09:53:08 -04:00
Charles Lehner
3bd859aaa3
Add file Create function
2014-09-26 01:38:58 -04:00
Charles Lehner
c6b5221803
Add FSWrite, GetFPos, SetFPos
2014-09-26 01:05:40 -04:00
Charles Lehner
fda2e0a378
Add some Files Manager glue functions ( #4 )
2014-09-26 00:50:28 -04:00
Wolfgang Thaller
7c33a47916
glue code must be declared pascal
2014-09-25 01:44:21 +02:00
Wolfgang Thaller
d85754fa6c
Launcher: A utility program for mini vMac
2014-09-20 02:18:58 +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
822c9f3dbf
fix indentation before it is too late
2014-09-15 00:43:30 +02:00
Wolfgang Thaller
dea5fa2a21
App2: hook up console for reading
2014-09-15 00:00:45 +02:00
Wolfgang Thaller
ebdaf6b959
fix bug in realloc implementation
2014-09-13 00:20:07 +02:00
Wolfgang Thaller
82203b6b7d
add README, COPYING and license notices
2012-04-24 03:22:36 +02:00
Wolfgang Thaller
5a7c5aae74
startup code: call FlushCache if necessary, inline a-traps
2012-04-06 01:04:43 +02:00
Wolfgang Thaller
1fef6246bf
remove old makefile
2012-04-06 01:04:08 +02:00
Wolfgang Thaller
4f6bed514d
reindent
2012-04-06 00:46:05 +02:00
Wolfgang Thaller
2194af326d
cmake build for libretro
2012-04-06 00:45:04 +02:00
Wolfgang Thaller
012f491d4e
deal with odd-address errors:
...
handle non-aligned relocations
make sure .init/.fini sections are aligned
2012-04-03 10:57:27 +02:00
Wolfgang Thaller
c0964680a4
libretro
2012-03-29 10:29:41 +02:00