Markus Fröschle
f92969d516
fixed formatting
2015-02-15 10:33:22 +00:00
Markus Fröschle
bef7fdbc2e
Networking finally works stable, although not really clean. Something causes spurious interrupts and a handler for this fixed it for now.
2015-01-18 19:47:31 +00:00
Markus Fröschle
5ed4f44c9a
modified for m548x irq5
2015-01-17 21:47:12 +00:00
Markus Fröschle
7c1844d73c
activated more Coldfire interrupt sources
2015-01-11 17:02:40 +00:00
Markus Fröschle
fe65b2ca00
replaced DMA API routines by fresh download with originals
...
moved more interrupt handlers to generalized handler
cleaned up lowlevel interrupt handling
fixed wrong assignment of interrupt masks
reformatted
2015-01-11 10:27:36 +00:00
Markus Fröschle
00b29437d8
did more changes to interrupt code, but still crashes in networking
2015-01-10 17:19:56 +00:00
Markus Fröschle
388ff72886
This version is working again, except network. For some reason, the DMA
...
interrupts don't seem to be triggered.
2015-01-09 20:12:03 +00:00
Markus Fröschle
6da4e0f182
(re) implemented irq1-4 + irq7
2015-01-09 16:01:58 +00:00
Markus Fröschle
1ed3bfab0c
(re)implemented irq1-irq4+irq7 handlers
2015-01-09 15:57:42 +00:00
Markus Fröschle
1787a5bbe8
fixed wrong offset on MFP interrupt
2015-01-09 15:08:44 +00:00
Markus Fröschle
4fee11270d
Not tested. Hopefully fixed interrupts.
2015-01-08 16:36:55 +00:00
Markus Fröschle
922be63d2a
fixed formatting
2015-01-07 13:54:35 +00:00
Markus Fröschle
2eb79b156a
reformatted
2014-12-30 22:25:36 +00:00
Markus Fröschle
0cc08d4bed
more FPGA tests
2014-12-26 20:01:03 +00:00
Markus Fröschle
8081df42a6
merged fixes from 0.8.6.1 (errornous skip of FPGA load)
2014-12-26 09:36:45 +00:00
Markus Fröschle
2c7434e751
modified interrupt structure
2014-10-11 18:43:02 +00:00
Markus Fröschle
5ae4c12795
added interrupt controller initialization for PCI error interrupts
2014-10-09 18:59:35 +00:00
Markus Fröschle
4154149154
implemented hook_interrupt() in PCI code
...
enabled PCI interrupts
ohci seems to damage something in PCI config -> PCI device enumeration
does not top with latest device
networking in EmuTOS lost (probably a result of PCI interrupt
implementation)
2014-10-05 17:50:15 +00:00
Markus Fröschle
a251cd4b44
implemented pci_hook_interrupt()
...
formatted USB sources
2014-10-01 15:39:16 +00:00
Markus Fröschle
2f4245743e
added mmu_report_pagesize()
2014-09-30 15:42:32 +00:00
Markus Fröschle
2637d39c67
first (untested) version of the modified MMU handling and API
2014-09-29 12:32:19 +00:00
Markus Fröschle
69d1e07c28
updated comments
2014-09-25 05:54:26 +00:00
Markus Fröschle
44acce1258
Screen address change now handled entirely in C (handler_gpt0/
2014-09-19 17:41:00 +00:00
Markus Fröschle
d5359c4b95
updated comments
2014-09-19 06:02:16 +00:00
Markus Fröschle
f9a8a880d9
replace "a7" with "sp" for consistancy
2014-09-19 04:59:21 +00:00
Markus Fröschle
36a7a593d9
fixed and completed comments
2014-09-18 20:13:54 +00:00
Markus Fröschle
0801adb0c0
fixed a few MMU quirks
2014-09-17 05:28:16 +00:00
Markus Fröschle
e7fa2b5bff
check for supervisor protection fault and issue a bus error
2014-09-07 19:29:11 +00:00
Markus Fröschle
87bd9eb2c6
rewritten mmu_map_page() and put into production
2014-09-07 19:01:19 +00:00
Markus Fröschle
7ea7b91e9d
moved more functionality from exceptions.S to interrupts.c. Added debug
...
printouts to MMU page fault handler
2014-09-07 10:57:58 +00:00
Markus Fröschle
37a3beef5a
moved IRQ service handler for PSC3 interrupt to the BaS ISR dispatcher
2014-09-07 06:53:01 +00:00
Markus Fröschle
307c5368b4
fixed a bug with LINK instruction not saving address register
2014-09-06 19:27:11 +00:00
Markus Fröschle
6fb30a56eb
more generalization of the dbg() diagnostic message prints
2014-09-01 07:20:22 +00:00
Markus Fröschle
4f81b597a6
reverted to last released to make it work again
2014-06-21 06:21:41 +00:00
Markus Fröschle
453c974c4f
moved FPGA config GPIO initialization into init_fpga.c to enable external JTAG FPGA configuration
2014-06-20 12:02:11 +00:00
Markus Fröschle
4ed0fb1b12
reformatted assembler code
2014-05-11 14:08:27 +00:00
Markus Fröschle
f73b3e9684
modified project to support Qt Creator inferior debugging through BDM.
2014-05-11 06:40:48 +00:00
Markus Fröschle
c628705dd3
modified dbg() macro
...
corrected irq6 handler
reimplemented MFP interrupt LED blinker in C
2014-05-10 13:21:11 +00:00
Markus Fröschle
b6fe3360ae
more conversion to C
2014-02-02 22:27:10 +00:00
Markus Fröschle
9b4c437bef
translated more of the assembler code into C
2014-02-02 21:35:46 +00:00
Markus Fröschle
be37299f97
optimized for size - reduces codesize by half
2014-02-01 23:54:32 +00:00
Markus Fröschle
5e816bf649
moved PSC3 interrupt handler to C code
2014-02-01 23:37:30 +00:00
Markus Fröschle
a612252d9a
removed inlining in wait.c, added (simple) map-based MMU handling
2014-01-18 14:03:25 +00:00
Markus Fröschle
e8f4626b65
fixed comments
2014-01-13 22:05:20 +00:00
Markus Fröschle
84a63c1554
corrected FASTRAM_END comparision
2014-01-13 21:20:24 +00:00
Markus Fröschle
9c1befe977
refactored assembler routines from exceptions.S into mmu.c (access exception handler). Seems to be better, but still hang.
2014-01-13 19:39:42 +00:00
Markus Fröschle
e0f61b3afc
implemented safe stack for access exception handler
2014-01-13 15:13:29 +00:00
Markus Fröschle
0a47c044c2
switch to a safe stack in access_exception.
...
Assembles, but not tested yet.
2014-01-13 07:19:09 +00:00
Markus Fröschle
1a82f294ac
networking works (sort of). For some reason, the Firebee packets don't cross my switch (or only very few of them do). If I put a Linux box in between (cross cable), using it as router, everything works flawlessly.
2014-01-06 18:44:36 +00:00
Markus Fröschle
47d7e8e965
cleaned up. X86emu does not work with debug trace on currently.
2014-01-03 21:03:35 +00:00