Commit Graph

41 Commits

Author SHA1 Message Date
Vincent Rivière
f18929b8a5 Clean up BaS linker script symbols. 2012-10-20 15:50:36 +00:00
Vincent Rivière
5dcb6cf41d Fixed cache management. 2012-10-20 14:29:57 +00:00
Vincent Rivière
03daa59aaa Clean up CACR initialization. 2012-10-20 14:00:11 +00:00
Vincent Rivière
ced6b5dc9f Fixed inverted BaS source and destination. 2012-10-19 21:43:11 +00:00
Markus Fröschle
881d23ae0d update comments 2012-10-19 12:46:20 +00:00
Markus Fröschle
61550f83e6 simplified and corrected BaS copy 2012-10-19 08:42:35 +00:00
Markus Fröschle
6609ee07b0 fixed wrong BaS copy length. 2012-10-19 05:57:35 +00:00
Markus Fröschle
4d8beb0d8d fixed formatting 2012-10-18 15:48:14 +00:00
Markus Fröschle
f43d30b44c found a line been lost in dvi_on() 2012-10-18 14:00:47 +00:00
Markus Fröschle
e76ed0b5d9 modified to work with multi-section linker script 2012-10-18 11:44:00 +00:00
Markus Fröschle
967e705d02 modified _VRAM storage class to volatile 2012-10-17 20:31:30 +00:00
Markus Fröschle
2d5a8fc5be added missing call to init_pll() 2012-10-17 05:29:25 +00:00
Markus Fröschle
858154a5f0 2012-10-16 19:51:22 +00:00
Markus Fröschle
b3ffbe28f3 removed unused declarations 2012-10-16 15:52:35 +00:00
Markus Fröschle
88629e3c15 extracted init_fpga() 2012-10-16 09:20:36 +00:00
Markus Fröschle
d5deccb848 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
52316a4084 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
d43546b05c calculation of cache flush adresses was wrong 2012-10-15 06:21:40 +00:00
Markus Fröschle
1adcfe3ab5 calculation of BaS copy target adress and final jump was wrong. 2012-10-15 06:20:12 +00:00
Markus Fröschle
e1a84ff9ab (Hopefully) fixed wrong calculation of BaS copy adresses 2012-10-15 06:14:43 +00:00
Markus Fröschle
5170a5a763 2012-10-14 15:59:28 +00:00
Markus Fröschle
67a2d1ba85 2012-10-14 14:28:25 +00:00
Markus Fröschle
1bbb038052 got rid of a lot of unused variables and some compiler warnings 2012-10-14 14:25:51 +00:00
Markus Fröschle
9375f44cb9 added prototype for cache handling 2012-10-14 10:36:44 +00:00
Markus Fröschle
85781e58c6 called instruction _and_ data cache flush after BaS copy 2012-10-14 10:35:16 +00:00
Markus Fröschle
5c801f1d49 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
67477861dc 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
a608d1a748 fixed lots of external references 2012-10-14 06:05:51 +00:00
Markus Fröschle
55aa8c57ae more fiddling with leading underscore in symbols 2012-10-14 05:34:33 +00:00
Markus Fröschle
e4671bd6de 2012-10-13 21:39:10 +00:00
Markus Fröschle
61bf238d20 less undefined symbol references 2012-10-13 21:22:40 +00:00
Markus Fröschle
fd26b3cd3f 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
03b4c4715d 2012-10-13 19:27:52 +00:00
Markus Fröschle
7405be5509 more initialization done 2012-10-13 19:19:42 +00:00
Markus Fröschle
f50654d54e still a few functions left to fix 2012-10-13 17:42:09 +00:00
Markus Fröschle
1536376c37 changed types to use <stdint.h> 2012-10-12 15:45:50 +00:00
Markus Fröschle
10e31d172b refactored some hardcoded constants 2012-10-12 06:15:28 +00:00
Markus Fröschle
160eba2134 formatted 2012-10-11 22:13:28 +00:00
Markus Fröschle
eff76690e8 2012-10-11 22:03:47 +00:00
Markus Fröschle
d86b666577 further translated ASM to C 2012-10-11 21:10:42 +00:00
Markus Fröschle
76c57259bd most of the CodeWarrior assembler converted to C 2012-10-11 14:13:16 +00:00