Commit Graph

59 Commits

Author SHA1 Message Date
Markus Fröschle
89fed7fd6e replaced register names by Coldfire macros.
updated comments
2012-10-26 15:06:54 +00:00
Markus Fröschle
744fea969c modified more printouts 2012-10-25 19:03:11 +00:00
Markus Fröschle
224ee45ef9 integrated printf routines. Only tested yet for "before copy"-case (which is more difficult than afterwards). 2012-10-25 18:12:16 +00:00
Markus Fröschle
5f45681679 modified to incorporate printf routine 2012-10-25 16:38:45 +00:00
Markus Fröschle
7c8e437f93 fixed comments 2012-10-25 06:32:04 +00:00
Markus Fröschle
9b0a18100f fixed alignment for (at least for some) registers that can be used 8, 16 or 32 bit wide 2012-10-24 19:40:12 +00:00
Markus Fröschle
b5972b7525 added latest insights from disassembling the binary distribution 2012-10-23 10:28:35 +00:00
Vincent Rivière
a4b3e47d1c Fixed wrong value in init_pll(). 2012-10-22 22:20:27 +00:00
Vincent Rivière
5616778836 Fixed warning about unused variable. 2012-10-22 21:09:53 +00:00
Vincent Rivière
ace9255623 Added comment about init_video_ddr(). 2012-10-22 21:09:07 +00:00
Vincent Rivière
0c0b72fc11 Fixed wait_pll(). 2012-10-22 20:52:41 +00:00
Vincent Rivière
578e0ad332 Moved slice timer OK message. 2012-10-22 20:24:58 +00:00
Vincent Rivière
dea7ef62ff Moved FireTOS and EmuTOS symbols to the linker script. 2012-10-22 19:01:03 +00:00
Vincent Rivière
9737c1a52b FireTOS never returns. 2012-10-22 18:42:42 +00:00
Vincent Rivière
aab98f0429 Removed old FireTOS code. 2012-10-22 18:15:01 +00:00
Markus Fröschle
a2c31bdc90 moved .data where it belongs (to RAM) 2012-10-22 11:08:26 +00:00
Vincent Rivière
df5e188f7c Fixed FireTOS loader using minimal initialization. 2012-10-21 23:14:09 +00:00
Vincent Rivière
452e52ad5a Cleaned up jump into the BaS. 2012-10-20 15:59:03 +00:00
Vincent Rivière
9531bac14d Clean up BaS linker script symbols. 2012-10-20 15:50:36 +00:00
Vincent Rivière
8d03ccdf7d Fixed cache management. 2012-10-20 14:29:57 +00:00
Vincent Rivière
1dd15009b0 Clean up CACR initialization. 2012-10-20 14:00:11 +00:00
Vincent Rivière
e2deb71d4f Fixed inverted BaS source and destination. 2012-10-19 21:43:11 +00:00
Markus Fröschle
15c9dcdfe3 update comments 2012-10-19 12:46:20 +00:00
Markus Fröschle
ee65c96f7c simplified and corrected BaS copy 2012-10-19 08:42:35 +00:00
Markus Fröschle
a04ce4b15b fixed wrong BaS copy length. 2012-10-19 05:57:35 +00:00
Markus Fröschle
d6cfbe3265 fixed formatting 2012-10-18 15:48:14 +00:00
Markus Fröschle
9086fce647 found a line been lost in dvi_on() 2012-10-18 14:00:47 +00:00
Markus Fröschle
09584a3f0a modified to work with multi-section linker script 2012-10-18 11:44:00 +00:00
Markus Fröschle
5caecfa38f modified _VRAM storage class to volatile 2012-10-17 20:31:30 +00:00
Markus Fröschle
2650b78459 added missing call to init_pll() 2012-10-17 05:29:25 +00:00
Markus Fröschle
e28351b8d2 2012-10-16 19:51:22 +00:00
Markus Fröschle
27211b27fd removed unused declarations 2012-10-16 15:52:35 +00:00
Markus Fröschle
8b4fcc1a2b extracted init_fpga() 2012-10-16 09:20:36 +00:00
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