Commit Graph

85 Commits

Author SHA1 Message Date
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
Vincent Rivière
0d4b4fc79e Fixed FPGA initialization bit ordering. 2012-10-16 19:18:38 +00:00
Markus Fröschle
0804423f63 added function to clear all cache lines (from illegal_instruction.S) 2012-10-16 17:55:57 +00:00
Markus Fröschle
ded149ab2c added function to clear cache 2012-10-16 17:51:37 +00:00
Markus Fröschle
6b379e90ed 2012-10-16 16:02:09 +00:00
Markus Fröschle
2315ee1427 startup file in assembler language 2012-10-16 15:54:58 +00:00
Markus Fröschle
27211b27fd removed unused declarations 2012-10-16 15:52:35 +00:00
Markus Fröschle
334b1a1595 common definitions for sysinit.c and init_fpga.c 2012-10-16 09:21:30 +00:00
Markus Fröschle
8b4fcc1a2b extracted init_fpga() 2012-10-16 09:20:36 +00:00
Markus Fröschle
150e652be1 replaced bit shifts with symbolic constants 2012-10-16 09:17:52 +00:00
Markus Fröschle
69828cf3be extracted FPGA initialization into separate source file 2012-10-16 08:37:55 +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
363a728991 simplified TOS copy according to dip switch setting 2012-10-15 16:17:26 +00:00
Markus Fröschle
eeafef3026 2012-10-15 11:38:20 +00:00
Markus Fröschle
3db8bdf7c5 fixed startup code (comment at wrong position) which prevented RAMBAR0 from getting initialized 2012-10-15 10:19:45 +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
017149f365 fixed inline asm statements 2012-10-15 06:03:11 +00:00
Markus Fröschle
2b843e3550 2012-10-15 05:48:17 +00:00
Markus Fröschle
e396402137 modified as of Vincenct's suggestions 2012-10-15 05:45:32 +00:00
Markus Fröschle
b1faffa639 2012-10-14 21:21:44 +00:00
Markus Fröschle
834e0b4f1a mine is nicer ;) 2012-10-14 21:12:03 +00:00
Vincent Rivière
1134522122 Fixed correct inline assembly usage. 2012-10-14 20:54:20 +00:00
Vincent Rivière
4e6371ec0f Fixed correct MCF_MMU_MMUCR usage. 2012-10-14 20:53:14 +00:00
Vincent Rivière
193aac3147 Fixed wrong initial PC.. 2012-10-14 20:48:31 +00:00
Markus Fröschle
00b0bd6b48 2012-10-14 19:59:08 +00:00
Markus Fröschle
c04796f5a2 2012-10-14 15:59:28 +00:00
Markus Fröschle
65a7302f00 2012-10-14 14:30:10 +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
09e0b7dad2 corrected wrong loop branches 2012-10-14 14:08:43 +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
a1e617ae55 fixed reference to __BOOT_FLASH 2012-10-14 06:49:11 +00:00
Markus Fröschle
cda8c27f27 cleanup of startup() 2012-10-14 06:47:13 +00:00
Markus Fröschle
7478a06536 fixed undefined external references 2012-10-14 06:30:46 +00:00
Markus Fröschle
49acb8986a fixed a few compiler warnings 2012-10-14 06:28:06 +00:00
Markus Fröschle
1d370836a0 provided empty sd_card_init() function to make the linker happy 2012-10-14 06:16:18 +00:00
Markus Fröschle
34f7fef782 fixed external reference to _BaS_base 2012-10-14 06:09:09 +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