Commit Graph

64 Commits

Author SHA1 Message Date
Oliver Lehmann e8a364c56d lib 2012-06-20 17:20:20 +00:00
Oliver Lehmann bcbb95c88a welcome KiCad version 2012-06-20 17:15:28 +00:00
Oliver Lehmann b22236a048 remove gschem stuff 2012-06-20 17:14:22 +00:00
Oliver Lehmann 430cb66f53 fix errors
connect MMC-/CS to '138
2012-06-18 20:04:16 +00:00
Oliver Lehmann 5053445699 make the code looking less nice but more performant 2012-06-17 16:40:42 +00:00
Oliver Lehmann 307e662ae8 even more work 2012-06-17 13:21:55 +00:00
Oliver Lehmann e27aefec5e intermediate work 2012-06-16 23:41:42 +00:00
Oliver Lehmann e9cdb6216e PATA should work now 2012-06-16 19:34:39 +00:00
Oliver Lehmann 14ad787b0b sync with reality 2012-06-16 10:49:19 +00:00
Oliver Lehmann 8e391e88fb sync with reality 2012-06-16 10:49:19 +00:00
Oliver Lehmann 362da63653 better version 2012-06-16 08:39:01 +00:00
Oliver Lehmann 2c5e145084 nicer code 2012-06-16 00:33:26 +00:00
Oliver Lehmann 2435c37f7e first work on PATA 2012-06-15 22:42:42 +00:00
Oliver Lehmann 39eed1c045 bit more work on PATA support 2012-06-14 20:24:24 +00:00
Oliver Lehmann edcf3936b0 implement jumper reading
assign function pointers for PATA functions, or MMC functions depending on the jumper setting
move a '04 gate in the circuit diagram from one slot to another
2012-06-13 20:17:45 +00:00
Oliver Lehmann 5087b5d18e add empty files for the PATA implementation 2012-06-12 19:58:36 +00:00
Oliver Lehmann 4c2e38ceeb minor changes 2012-06-12 17:43:38 +00:00
Oliver Lehmann 42cf24aba7 update Makefile to reflect the new filenames 2012-06-12 17:35:02 +00:00
Oliver Lehmann d12779e8d7 First step towards PATA support.
Rename files to better fit into the architecture
2012-06-12 17:34:14 +00:00
Oliver Lehmann 0698982318 proper initialization of the Addressdecoder Pins 2012-06-10 21:11:03 +00:00
Oliver Lehmann 32ee345f1c undo last commit (remove testing stuff) 2012-06-10 21:10:44 +00:00
Oliver Lehmann a777ce8444 P8000-Acessing via '138+'245 2012-06-10 21:03:23 +00:00
Oliver Lehmann 801b1e746c error correction 2012-06-10 08:51:17 +00:00
Oliver Lehmann f7bc506c48 more work on the circuit 2012-06-10 00:55:01 +00:00
Oliver Lehmann 3d57300428 first step for a ATA implementation 2012-06-09 22:53:42 +00:00
Oliver Lehmann 406774a382 getting closer to a final version 2012-06-09 19:47:31 +00:00
Oliver Lehmann 33783a4bb2 add SDHC support
rework PAR+BTT system to match the original P8000 behaviour
2012-06-09 00:22:28 +00:00
Oliver Lehmann e098003f7d wait before start read 2012-06-08 11:11:26 +00:00
Oliver Lehmann e3b3f563e4 update 2012-06-08 10:40:39 +00:00
Oliver Lehmann ba5c7198e0 put the performance measuring in another C-File 2012-06-07 20:26:09 +00:00
Oliver Lehmann e2fda1fd0d add some waits for the sd-card to be ready and remove some other
put the performance measuring in another C-File
2012-06-07 20:25:46 +00:00
Oliver Lehmann 30dbd18ad6 comment out ready-checking - it eats up 116.31KB/Sec reading speed 2012-06-07 18:38:08 +00:00
Oliver Lehmann 4e85b88109 add BSD license header 2012-06-07 18:01:02 +00:00
Oliver Lehmann 7164857ce5 more speed 2012-06-07 17:54:00 +00:00
Oliver Lehmann 8a06a46355 get rid of C++ style comments
make C99 clean
2012-06-07 01:03:17 +00:00
Oliver Lehmann f898e0fdb8 small code optimisation after looking through the generated ASM listings 2012-06-07 00:34:36 +00:00
Oliver Lehmann 546554bcda add a Makefile for FreeBSD users
re-enable sleep mode
2012-06-06 23:10:31 +00:00
Oliver Lehmann 8576a53f28 split wdc_ram.[ch] into wdc_ram.[ch] and additionally wdc_par.[ch]
remove direct accessing of par_table
2012-06-06 22:05:06 +00:00
Oliver Lehmann 8c8505b107 make data buffers global to get a better overview of SRAM usage during
compile time.
when detecting an error during Reading Blocks from the "WDC", respond only
with an error message - not with error+data
2012-06-05 20:30:09 +00:00
Oliver Lehmann 47fcd4b9cd code formatting 2012-06-05 19:46:26 +00:00
Oliver Lehmann b036627b27 remove temporary files 2012-06-05 18:25:09 +00:00
Oliver Lehmann a2e1dc52dc rename a single function 2012-06-05 18:24:16 +00:00
Oliver Lehmann 22fbb4f11c complete overhaul and reimplementation of the MMC Code
Implement Checksumming
Implement Multiblock-Operation
Also increase performance by reducing function calls for SPI handling
2012-06-05 18:21:48 +00:00
Oliver Lehmann ff85359a85 remove dynamic memory allocation 2012-06-03 13:51:43 +00:00
Oliver Lehmann b47910465f - make ALLOC optional (will be removed in next commit)
- implement SPI-CRC (CRC routines not yet reviewed for improvements)
2012-06-03 13:38:03 +00:00
Oliver Lehmann 5fa55e3943 todays work 2012-06-02 23:04:30 +00:00
Oliver Lehmann a25e66b4ff much more support now 2012-06-02 00:51:55 +00:00
Oliver Lehmann 9c672773b2 convert wdc_ram from unsigned char to uint8_t 2012-05-31 20:34:11 +00:00
Oliver Lehmann c3b77a6c5e reformat code 2012-05-31 20:22:42 +00:00
Oliver Lehmann aba33f9830 - split up monolith main.c into several files
- implementation of the following commands:

#define CMD_RD_PARTAB       0x28                /* P8000 Command: read Parameter block from WDC RAM */
#define CMD_WR_PARTAB       0x78                /* P8000 Command: write Parameter block to WDC RAM */
#define CMD_DL_BTTAB        0x48                /* P8000 Command: delete Bad Track Table from WDC RAM */
#define CMD_RD_BTTAB        0x58                /* P8000 Command: read Bad Track Table from WDC RAM */
#define CMD_WR_BTTAB        0x68                /* P8000 Command: write Bad Track Table to WDC RAM */
2012-05-31 20:21:51 +00:00