Commit Graph

129 Commits

Author SHA1 Message Date
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
50b8cb9361 simplified TOS copy according to dip switch setting 2012-10-15 16:17:26 +00:00
Markus Fröschle
35560d57e2 2012-10-15 11:38:20 +00:00
Markus Fröschle
d68ade8bec fixed startup code (comment at wrong position) which prevented RAMBAR0 from getting initialized 2012-10-15 10:19:45 +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
9663851dba fixed inline asm statements 2012-10-15 06:03:11 +00:00
Markus Fröschle
d7a9f10e3c 2012-10-15 05:48:17 +00:00
Markus Fröschle
8d2487c595 modified as of Vincenct's suggestions 2012-10-15 05:45:32 +00:00
Markus Fröschle
ab69eccb47 2012-10-14 21:21:44 +00:00
Markus Fröschle
f8102d578f mine is nicer ;) 2012-10-14 21:12:03 +00:00
Markus Fröschle
00b6dbe890 2012-10-14 21:09:12 +00:00
Vincent Rivière
e5b0824797 Fixed correct inline assembly usage. 2012-10-14 20:54:20 +00:00
Vincent Rivière
98688f58ec Fixed correct MCF_MMU_MMUCR usage. 2012-10-14 20:53:14 +00:00
Vincent Rivière
306fcc2845 Fixed wrong initial PC.. 2012-10-14 20:48:31 +00:00
Markus Fröschle
34426619af 2012-10-14 19:59:08 +00:00
Markus Fröschle
3acb43ace1 changed srecord extension to .s19 according to Vincent's suggestion 2012-10-14 19:58:31 +00:00
Markus Fröschle
5170a5a763 2012-10-14 15:59:28 +00:00
Markus Fröschle
ef7080fbfc 2012-10-14 14:30:10 +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
e06aa59e1c removed object files list from final linker call since that's misleading (controlled through link script itself) 2012-10-14 14:15:31 +00:00
Markus Fröschle
19f7113c4b corrected wrong loop branches 2012-10-14 14:08:43 +00:00
Markus Fröschle
43fd6ab38b forgot new cache functions in linker control file 2012-10-14 14:05:24 +00:00
Markus Fröschle
ecfc91de85 added functions (in cache.[ch]) to flush data and instruction caches for specific memory regions 2012-10-14 10:37:54 +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
6d99e90df7 still had the wrong CPU in the Makefile. Not its "-mcpu=5474" as suggested. 2012-10-14 08:35:41 +00:00
Markus Fröschle
92388fda38 eclipse 2012-10-14 08:12:45 +00:00
Markus Fröschle
a79a3c494c (Nearly) clean build.
Still one warning (possible integer overflow) left - need to look into it
2012-10-14 07:04:04 +00:00
Markus Fröschle
0b3a146609 fixed "clean" target to really clean
added a "depend" target
2012-10-14 07:01:07 +00:00
Markus Fröschle
fca9811ebb fixed reference to __BOOT_FLASH 2012-10-14 06:49:11 +00:00
Markus Fröschle
be10263f80 cleanup of startup() 2012-10-14 06:47:13 +00:00
Markus Fröschle
1555f31976 fixed CFLAGS according to Vincent's suggestions 2012-10-14 06:45:34 +00:00
Markus Fröschle
4d2caeca37 fixed linker control file 2012-10-14 06:34:11 +00:00
Markus Fröschle
ed90e0b985 fixed undefined external references 2012-10-14 06:30:46 +00:00
Markus Fröschle
54aa93185a fixed a few compiler warnings 2012-10-14 06:28:06 +00:00
Markus Fröschle
1bfe6b97bd provided empty sd_card_init() function to make the linker happy 2012-10-14 06:16:18 +00:00
Markus Fröschle
e0d904f5bd fixed external reference to _BaS_base 2012-10-14 06:09:09 +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
4a3d01c13a 2012-10-13 21:40:28 +00:00
Markus Fröschle
e4671bd6de 2012-10-13 21:39:10 +00:00
Markus Fröschle
601fb73564 even less undefied symbol references 2012-10-13 21:24:50 +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