Commit Graph

48 Commits

Author SHA1 Message Date
Markus Fröschle
feb6a27869 provide an early exception vector table to catch exceptions during startup, before the final table has been set up (in exceptions.S) 2013-08-02 09:35:57 +00:00
Markus Fröschle
e0e93657c4 renamed spidma.[ch] to dma.[ch] 2013-08-01 10:56:11 +00:00
Markus Fröschle
2a9a57eeea clear BaS data segment at start 2013-08-01 05:46:39 +00:00
Markus Fröschle
884f9eedd4 simplified MMU initialization
removed (apparently unneeded) MMU TLBs
added source file templates for SPI dma routines
2013-07-28 07:19:57 +00:00
Markus Fröschle
28036be06b removed pc-relative quirks since not needed anymore 2013-07-05 16:13:32 +00:00
Markus Fröschle
41fa049f5b removed BaS copy to RAM.
Since flashing is intended from a self-contained, SD-card loaded image, this is not neccessary anymore.
2013-07-02 09:53:48 +00:00
Markus Fröschle
6cc63afcec modified entry point for XHDI routines 2013-05-10 13:16:00 +00:00
Markus Fröschle
30373c5909 baked everything together (trap #0 handler) 2013-05-01 14:32:23 +00:00
Markus Fröschle
447f961088 separated "standard library" string functions into bas_string.[ch] 2013-02-26 11:04:25 +00:00
Markus Fröschle
8069d83787 modified to enable remote debugging of basflash.s19.
basflash.s19 does not work in this version (hang)!
2013-02-17 22:47:24 +00:00
Markus Fröschle
c461730076 incorporated s19reader in build 2012-12-17 18:24:27 +00:00
Markus Fröschle
88f3708506 started development of bootstrap flashing code load 2012-12-16 07:52:21 +00:00
Markus Fröschle
68194329d2 merged SD_CARD branch 2012-12-15 18:25:15 +00:00
Markus Fröschle
51561769c6 cleaned up project:
-moved all includes into "include" directory
-extracted "wait...()"-routines into separate files
2012-12-10 09:30:27 +00:00
Vincent Rivière
0c23668b0f Reordered. 2012-11-12 15:57:09 +00:00
Vincent Rivière
023fda6e70 Set ___BOOT_FLASH to the real flash address even if the BaS is being run in RAM with GDB. 2012-11-12 15:53:23 +00:00
Vincent Rivière
0404bf0721 Better definition of __BAS_IN_RAM. 2012-11-12 15:06:19 +00:00
Vincent Rivière
4a47bc9c03 Moved sections definition at the top. 2012-11-12 15:00:53 +00:00
Vincent Rivière
169159df65 Renamed memory regions. 2012-11-12 13:50:23 +00:00
Vincent Rivière
1eaf901c48 Moved all __BAS_* defines to the same place. 2012-11-12 13:47:02 +00:00
Vincent Rivière
7b64a5664f Removed redundant sections VMA. 2012-11-12 13:41:21 +00:00
Vincent Rivière
4ec8898ed2 Renamed _Bas_base and __BAS_VMA to __BAS_IN_RAM. 2012-11-07 22:18:27 +00:00
Vincent Rivière
97099dc581 Renamed _tos_base to __TOS. 2012-11-07 21:53:01 +00:00
Vincent Rivière
ca1671cf52 Reordered symbols. 2012-11-07 21:24:59 +00:00
Vincent Rivière
c9b5813511 Added ST-RAM and FastRAM symbols. 2012-11-07 21:16:19 +00:00
Vincent Rivière
81f4abfa61 Better BaS alignment handling. 2012-11-07 20:57:09 +00:00
Vincent Rivière
4a969e2452 Fixed potential BaS size alignment issue. 2012-11-07 20:24:42 +00:00
Vincent Rivière
3f810e8a8d Removed useless _bas_end symbol. 2012-11-07 20:13:43 +00:00
Vincent Rivière
532d29a8d6 Rollback commit by mistake. 2012-11-07 19:55:02 +00:00
Vincent Rivière
0522ed6182 Removed STRT_SRC and STRT_OBJ. 2012-11-07 19:53:43 +00:00
Vincent Rivière
6a7014114b Removed useless ABSOLUTE(). 2012-11-07 19:40:39 +00:00
Vincent Rivière
54f084e84f Moved *_before_copy labels in a separate paragraph. 2012-11-07 19:17:10 +00:00
Vincent Rivière
772cee1775 Fixed *_before_copy labels when linking to .s19 2012-11-05 22:48:04 +00:00
Markus Fröschle
63d30c3943 compile cache.c -mpcrel 2012-11-03 22:35:47 +00:00
Markus Fröschle
ca9e947431 2012-10-30 20:20:17 +00:00
Markus Fröschle
73a1979bf5 modified to support both m68k-elf (needed for source level debugging) as well as m68k-atari-mint toolchains 2012-10-30 11:44:40 +00:00
Markus Fröschle
785c6dfe30 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
7a7b94beb2 modified to incorporate printf routine 2012-10-25 16:38:45 +00:00
Markus Fröschle
55e6937179 added free (BSD-source) tiny-printf to support better diagnostic messages 2012-10-25 12:01:48 +00:00
Markus Fröschle
4b15407ebc finished incorporating sd_card routines 2012-10-24 13:49:22 +00:00
Vincent Rivière
28093e62b9 Moved FireTOS and EmuTOS symbols to the linker script. 2012-10-22 19:01:03 +00:00
Vincent Rivière
044a0622ca Fixed newline at end of file. 2012-10-22 11:28:34 +00:00
Vincent Rivière
1a9581d0e5 Added comment about the entry point. 2012-10-22 11:27:20 +00:00
Markus Fröschle
ddaf164925 moved .data where it belongs (to RAM) 2012-10-22 11:08:26 +00:00
Markus Fröschle
04cbe047a1 leave chaches.o in flash (called from sysinit.o) 2012-10-22 07:45:24 +00:00
Markus Fröschle
5b1069153e copy exception handlers to RAM together with BaS() 2012-10-22 07:36:41 +00:00
Markus Fröschle
96232849d6 copy everything except the early initialization routines to RAM 2012-10-22 05:58:26 +00:00
Markus Fröschle
de1f61c859 renamed according to Vincent's suggestion 2012-10-20 17:10:07 +00:00