Commit Graph

26 Commits

Author SHA1 Message Date
Markus Fröschle
c4e048f152 bit checks to wait for FPGA ready were the wrong way round.
Allowed the compiler to use m68k bitfield instructions (-mbitfield). Now produces nearly the same code than Fredi's assembler sources.
2012-10-16 06:13:48 +00:00
Markus Fröschle
33d71f3d84 FPGA pins (clock, config) were the wrong way round for FPGA programming in init_fpga. Corrected. 2012-10-16 05:53:53 +00:00
Markus Fröschle
e9e55c8fd7 calculation of cache flush adresses was wrong 2012-10-15 06:21:40 +00:00
Markus Fröschle
a598d5bac0 calculation of BaS copy target adress and final jump was wrong. 2012-10-15 06:20:12 +00:00
Markus Fröschle
553cf4cd39 (Hopefully) fixed wrong calculation of BaS copy adresses 2012-10-15 06:14:43 +00:00
Markus Fröschle
c04796f5a2 2012-10-14 15:59:28 +00:00
Markus Fröschle
e7334209a8 2012-10-14 14:28:25 +00:00
Markus Fröschle
33494926f4 got rid of a lot of unused variables and some compiler warnings 2012-10-14 14:25:51 +00:00
Markus Fröschle
d7a7a6f229 added prototype for cache handling 2012-10-14 10:36:44 +00:00
Markus Fröschle
65a7e80aca called instruction _and_ data cache flush after BaS copy 2012-10-14 10:35:16 +00:00
Markus Fröschle
0a6e68bf83 Translated BaS copy routines to C.
Added functionality to flush caches before jumping into copied code
2012-10-14 10:34:18 +00:00
Markus Fröschle
be0bd52d45 Made compiler more picky by adding -Wall to CFLAGS.
This showed up more warnings where some are already fixed.
2012-10-14 09:24:25 +00:00
Markus Fröschle
388b6eb796 fixed lots of external references 2012-10-14 06:05:51 +00:00
Markus Fröschle
5fcc66786e more fiddling with leading underscore in symbols 2012-10-14 05:34:33 +00:00
Markus Fröschle
4a99aec0b1 2012-10-13 21:39:10 +00:00
Markus Fröschle
5ad1cfb78f less undefined symbol references 2012-10-13 21:22:40 +00:00
Markus Fröschle
cfded8379d started link script rewrite - needed lots of symbol changes because leading underscores in symbol names 2012-10-13 21:14:57 +00:00
Markus Fröschle
4f08be9988 2012-10-13 19:27:52 +00:00
Markus Fröschle
d554400be3 more initialization done 2012-10-13 19:19:42 +00:00
Markus Fröschle
6111fad571 still a few functions left to fix 2012-10-13 17:42:09 +00:00
Markus Fröschle
cd603546d7 changed types to use <stdint.h> 2012-10-12 15:45:50 +00:00
Markus Fröschle
8d088f22dc refactored some hardcoded constants 2012-10-12 06:15:28 +00:00
Markus Fröschle
b50a8f6d10 formatted 2012-10-11 22:13:28 +00:00
Markus Fröschle
b1fa4b5b9e 2012-10-11 22:03:47 +00:00
Markus Fröschle
0870ecbc70 further translated ASM to C 2012-10-11 21:10:42 +00:00
Markus Fröschle
d0bfa6051a most of the CodeWarrior assembler converted to C 2012-10-11 14:13:16 +00:00