Wolfgang Thaller
24bee35d90
implement UnloadSeg on 68K
2017-10-07 02:02:42 +02:00
Wolfgang Thaller
32a2da9547
New, more compact format for relocations
2017-09-30 23:03:17 +02:00
Wolfgang Thaller
821bc04a7a
set -ffunction-sections option on libretro and libConsole, and use gc-sections in Samples/HelloWorld.
2017-09-29 22:31:35 +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
Wolfgang Thaller
a4716081c2
moving closer to multiseg
2017-09-26 02:38:05 +02:00
Wolfgang Thaller
ce59176be5
explicitly store target section in relocations
2017-09-24 21:25:58 +02:00
Wolfgang Thaller
33a2744643
Take responsibility: don't use standard crtbegin/end anymore, now that we control the linker script
2017-09-24 20:04:11 +02:00
Wolfgang Thaller
284126e13c
Elf2Mac now generates CODE resources itself; --mac-flat for the old functionality
2017-09-24 16:00:00 +02:00
Wolfgang Thaller
0e3a0a5d18
output of elf2mac is now a piece of code with no headers with its entry point at the start. No more FLT file format.
2017-09-24 00:32:13 +02:00
Wolfgang Thaller
975c1f31c3
Some cleanups
2017-09-23 22:36:47 +02:00
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