Commit Graph

94 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
951447352c started MMU implementation in C 2013-08-01 16:01:35 +00:00
Markus Fröschle
e0e93657c4 renamed spidma.[ch] to dma.[ch] 2013-08-01 10:56:11 +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
245572438e modified RAM BaS start address 2013-07-23 05:01:59 +00:00
Markus Fröschle
af1fe581f6 added multichannel DMA API (MCDAPI) to BaS 2013-07-11 19:49:32 +00:00
Markus Fröschle
82dd0eee4d added comments 2013-07-05 16:27:35 +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
c9fbffcff0 get rid of -mshort compiling xhdi_interface.c which just creates a mess. 2013-05-08 04:03:59 +00:00
Markus Fröschle
4d1da19b09 code is a mess currently. I check it in nevertheless since it works a little better than before. Will be cleaned up later. 2013-05-06 20:48:39 +00:00
Markus Fröschle
397e4d0bfb added -mshort to xhdi_interface.c compilation 2013-05-06 16:00:53 +00:00
Markus Fröschle
9c3c58d641 Had "-fno-omit-frame-pointer" assuming it would improve gdb's ability to find stack frames (which it doesn't). Reset to "-fomit-frame-pointer" to generate shorter code 2013-05-06 05:54:52 +00:00
Markus Fröschle
c85c3edc88 basically finished, but EmuTOS does not seem to like it yet... 2013-05-05 17:18:25 +00:00
Markus Fröschle
9854df5018 compile -mshort for xhdi_interface() _only_ (fixed Makefile) 2013-05-02 05:10:19 +00:00
Markus Fröschle
46ace88463 initial (experimental) version of BaS_gcc SD-card driver for EmuTOS 2013-05-01 08:51:18 +00:00
Markus Fröschle
f4e8f4d107 started coding to bring SD card routines to EmuTOS 2013-05-01 06:28:30 +00:00
Markus Fröschle
33e7745b25 fixed "clean" target and made sure code compiles with m68k-atari-mint toolchain 2013-03-03 08:57:26 +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
1731b417b6 modified to enable remote debugging of basflash.s19.
basflash.s19 does not work in this version (hang)!
2013-02-17 07:30:14 +00:00
Markus Fröschle
a1e072f16f added basflash_start (startup()) as very first routine 2013-02-16 07:59:46 +00:00
Markus Fröschle
b49c9e628d added libbas.a to the "clean" target 2013-02-14 09:11:45 +00:00
Markus Fröschle
0a2afd578a updated Makefile comments 2013-02-14 09:07:40 +00:00
Markus Fröschle
864a67c7e5 made "clean" target remove all mapfiles and intermediate linker scripts 2013-02-13 11:01:23 +00:00
Markus Fröschle
d4819749d6 streamlined Makefile 2013-02-04 16:39:21 +00:00
Markus Fröschle
67ede2fddb fixed Makefile, fixed dependencies and removed doubly defined symbols 2013-02-04 10:38:11 +00:00
Markus Fröschle
69f147e9cf added sector erase logic. Does not compile currently. 2013-02-01 16:11:18 +00:00
Markus Fröschle
307720cbfc modified comments 2013-01-24 16:19:32 +00:00
Markus Fröschle
b4f05cfdf3 modified to use a library instead of individual objects - can be reused for basflash.{elf|srec} 2013-01-23 14:56:25 +00:00
Markus Fröschle
67a53b7f29 automatic dependency generation did not work 2012-12-26 08:12:13 +00:00
Markus Fröschle
c5106fbe91 improved SD-card speed 2012-12-20 22:08:24 +00:00
Markus Fröschle
f0f829ab31 2012-12-20 11:30:48 +00:00
Markus Fröschle
9a80c36081 S-record load to RAM tested successfully. basflash.s19 is a short test program (just a single line of code) that can be loaded from SD card and executed. Control is given back to BaS() on return. 2012-12-18 20:36:31 +00:00
Markus Fröschle
55c2f783b2 started implementation of S-record reader 2012-12-17 16:30:43 +00:00
Markus Fröschle
6bfdcea1ba enabled faster clocking rate on cards that support it and did some transfer timing tests 2012-12-16 10:51:50 +00:00
Markus Fröschle
88f3708506 started development of bootstrap flashing code load 2012-12-16 07:52:21 +00:00
Markus Fröschle
0fd987e847 further cleaned up project 2012-12-16 06:36: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
Markus Fröschle
b85b977223 renamed functions to spi_...() and sd_card...() according to target 2012-12-03 12:02:55 +00:00
Markus Fröschle
8020d107b1 removed stupid "volatile void" declaration 2012-11-28 04:18:13 +00:00
Markus Fröschle
85d23c994a write diagnostic message if PIC initialization failed 2012-11-24 07:00:00 +00:00
Markus Fröschle
8edac06f30 fixed eclipse build settings (scanner did not work right on MacOSX) 2012-11-19 06:22:37 +00:00
Vincent Rivière
55f690fcf8 Added missing dependency to $(LDCSRC). 2012-11-07 20:02:42 +00:00
Vincent Rivière
0522ed6182 Removed STRT_SRC and STRT_OBJ. 2012-11-07 19:53:43 +00:00
Vincent Rivière
c5c82e884a Create ram.elf.s19 with ELF tools. 2012-11-05 20:20:29 +00:00
Vincent Rivière
5c4b6573e0 Replaced -fno-builtin by -ffreestanding to allow usage of stdint.h when the standard library is not available. 2012-11-05 19:44:08 +00:00
Markus Fröschle
d02a99cc51 re-enabled MMU 2012-11-04 11:23:48 +00:00
Markus Fröschle
f0c7eb55e3 fixed -mpcrel cflags for cache.c and bas_printf.c 2012-11-03 22:41:08 +00:00