Wolfgang Thaller
57906f91c1
zero-terminate relocation list
2017-09-23 20:11:38 +02:00
Wolfgang Thaller
5059b87fe4
relocate.c: reduce reliance on the FLT header (it has to go)
2017-09-23 19:56:36 +02:00
Wolfgang Thaller
278780642e
make DEBUGBREAK flag for add_application work again
2017-09-23 04:00:30 +02:00
Wolfgang Thaller
0e11f298ba
Major rearrangement of build-toolchain.sh; interfaces & libraries now taken from InterfacesAndLibraries/
2017-04-25 03:33:16 +02:00
Wolfgang Thaller
431390d872
brutally use absolute addresses in exception handling tables and stick them in .data (for now)
2017-04-12 11:55:14 +02:00
Wolfgang Thaller
95b59e3315
Support for older systems (64K ROMs). See issue #22 .
...
Thanks to @mdanh2002 for submitting the patch.
2017-04-11 20:44:47 +02:00
Wolfgang Thaller
79d23218a9
Clean up Carbon build
2015-10-07 00:03:28 +02:00
Wolfgang Thaller
9b13d38682
libretro: implement gettimeofday(). Fixes issue #18
2015-09-16 00:39:03 +02:00
Wolfgang Thaller
54591b457a
Carbon HACKS (breaks other stuff)
2015-09-13 16:54:15 +02:00
Wolfgang Thaller
06bf36503b
proper .r file for cfrg resource
2015-09-09 01:25:59 +02:00
Wolfgang Thaller
db403ed5a0
update libretro for powerpc
2015-09-08 18:01:17 +02:00
Wolfgang Thaller
4ae36b70fb
startup code & cmake stuff for ppc
2015-09-01 00:04:20 +02:00
Wolfgang Thaller
1c6c1ddd9f
towards building libretro
2015-08-31 16:44:45 +02:00
Wolfgang Thaller
836a8acb7b
properly call global destructors
2015-08-29 20:11:53 +02:00
Wolfgang Thaller
65dbaedf5d
use the newly supported "= { 0x1234 }" syntax instead of non-standard __attribute__((__raw_inline__(0x1234))).
2015-08-27 22:13:32 +02:00
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