Commit Graph

52 Commits

Author SHA1 Message Date
Markus Fröschle
0197af9703 cleanup vmem_test 2016-06-06 05:19:25 +00:00
Markus Fröschle
aeefc6eb1e make set_ipl() a true function (was inlined before) 2016-04-17 18:21:09 +00:00
Markus Fröschle
883861f6cc modify 1st page to cache mode PASSTHROUGH 2016-04-02 18:56:20 +00:00
David Gálvez
05c9e4d1bb Post increment makes that we send 65 bytes.
Reported by Daroou.
2016-02-16 15:21:30 +00:00
David Gálvez
039da05264 Move functions declaration to header file 2016-02-07 18:35:04 +00:00
David Gálvez
4934ac83ff Fix date and time saving to PIC process.
Use wrapped functions to acces PIC registers.
2016-02-07 14:20:22 +00:00
Markus Fröschle
1ff219bebf fix PSC3 interrupt level and prio
fix PIC communication in PSC3 interrupt handler
2016-02-07 12:28:13 +00:00
Markus Fröschle
6d7d81090c fix to only reprogram the interrupt controller if neccessary 2015-10-11 18:27:41 +00:00
Markus Fröschle
5d75d8ccc7 fix a problem where enabling the spurious interrupt handler screwed up
interrupt controller registers
2015-10-11 05:54:45 +00:00
Markus Fröschle
c036d08f6a modified PCI configuration, RADEON card does not configure correctly
(MMIO space not accessible)
2015-02-22 19:46:16 +00:00
Markus Fröschle
06dcdd3db1 removed vsync and hsync interrupt handling from fbee interrupt handler 2015-01-19 12:32: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
cfdf59d7d7 networking looks good? 2015-01-14 18:38:33 +00:00
Markus Fröschle
c7a1641405 successfully compiled BaS_gcc over NFS on a Linux host from the Firebee:
network test passed
2015-01-12 21:37:44 +00:00
Markus Fröschle
c09f0d735e implemented initial version of XLB PCI interrupt handler. For now it
just reports and clears errors.
2015-01-12 07:25:16 +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
504d11dbfd changed return type of interrupt handlers 2015-01-10 17:44:04 +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
4fee11270d Not tested. Hopefully fixed interrupts. 2015-01-08 16:36:55 +00:00
Markus Fröschle
0cc08d4bed more FPGA tests 2014-12-26 20:01:03 +00:00
Markus Fröschle
c81fc7e7e9 fixed comments 2014-12-16 20:33:51 +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
99ab0fe523 fixed parameters of irq5_handler() 2014-10-09 17:51:58 +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
2d2b88be59 removed debug output 2014-09-30 19:32:26 +00:00
Markus Fröschle
fe944b40d4 fixed wrong stack address offset for "magic number" 2014-09-30 19:29:46 +00:00
Markus Fröschle
f91988cbc5 consistantly use bas_types.h instead of standard headers 2014-09-25 06:24:55 +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
0801adb0c0 fixed a few MMU quirks 2014-09-17 05:28:16 +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
22760eb9b8 refactored 2014-09-06 21:29:55 +00:00
Markus Fröschle
4ed0fb1b12 reformatted assembler code 2014-05-11 14:08:27 +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
05dd6f78ff added to QtCreator 2014-04-22 10:44:56 +00:00
Markus Fröschle
f378ec7051 translated copy loop to C 2014-02-04 20:06:29 +00:00
Markus Fröschle
0037257ae1 started "translating" MMU update code for video pages 2014-02-04 07:17:51 +00:00
Markus Fröschle
e3bea6557c completed page loop 2014-02-03 21:42:25 +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
5e816bf649 moved PSC3 interrupt handler to C code 2014-02-01 23:37:30 +00:00
Markus Fröschle
40aa08464d removed type field from isr_register_handler() and friends 2014-01-14 07:48:38 +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
40c89dd900 added interface structure to make the MCD DMA available to MiNT (DMAC cookie). MinT's FEC driver works somewhat, but not reliable yet. 2014-01-01 21:28:17 +00:00
Markus Fröschle
8424a836a1 enabled MCDMA for fec 2014-01-01 13:02:37 +00:00
Markus Fröschle
981192e99b added Firetos' radeon PCI driver 2013-12-26 21:20:47 +00:00
Markus Fröschle
7a33324a83 further implemented bootp protocol 2013-12-24 10:41:43 +00:00