Commit Graph

84 Commits

Author SHA1 Message Date
beeanyew
b094944dae Minor updates
Add openocd CPLD flashing script for the old version (10.0-5) of openocd, rework interrupt handling a bit so that more software works, update buptest to work with the proto3 bitstream.
2021-03-22 14:58:44 +01:00
Rob Andrews
8c051b90dd Merge branch 'wip-crap' of https://github.com/beeanyew/pistorm into 0.x-borb 2021-03-08 16:31:52 +00:00
beeanyew
1f804c7e36 [WIP] IRQ experiments, revert Musashi speed hax for now 2021-03-08 15:53:23 +01:00
just nine
ac56b5da72 remove debug message 2021-03-06 02:18:13 +00:00
just nine
7c486a4335 wip threaded input: NB NOT THREADSAFE YET 2021-03-06 02:16:06 +00:00
just nine
5b72cdcbb9 use goto to avoid condition check in loop 2021-03-06 01:40:12 +00:00
just nine
196e5e35f4 move cpu into a separate thread
moving cpu into another thread assists in separating cpu utilisation in
top from the main thread
2021-03-06 00:47:16 +00:00
just nine
9ef0c27e66 don't do last_irq thing; rely in M68K_SET_IRQ 2021-03-05 17:44:09 +00:00
just nine
0b17ded2ca give threads titles 2021-03-05 17:43:47 +00:00
just nine
a0343ebb9d tidy up headers, remove extraneous duplicate decls 2021-03-05 17:43:13 +00:00
beeanyew
24d09251d5 [WIP] PiSCSI custom file system experiments
Still not quite working, only FFS working for now.
2021-02-16 08:03:46 +01:00
beeanyew
e764148bb1 [WIP] Pile of stuff
PiSCSI Boot ROM progress, various fixes and enhancements, TD64 support
Added updated open source RTL and bit stream by Niklas Ekström (https://github.com/niklasekstrom)
2021-02-10 08:33:52 +01:00
beeanyew
04bf2f6153 [WIP] PiSCSI boot ROM disabled for now 2021-01-31 12:14:16 +01:00
beeanyew
0d0bb0355d [WIP] PiSCSI boot ROM experiments 2021-01-29 01:37:40 +01:00
beeanyew
142e2eea1b [WIP] PiSCSI, Pi-NET and some other things 2021-01-27 22:13:54 +01:00
beeanyew
40343f9a09 Creepy CDTV experiments 2021-01-19 13:58:16 +01:00
beeanyew
866fce02dc Update emulator.c 2021-01-15 16:31:07 +01:00
beeanyew
c6b96c6d73 IDE updates, fix mouse hook hotkey
Added support for headerless (RDSK) HDD images, and fixed the IDE controller emulation to not keep separate LBA1-4 values for each hard drive.
This may look strange at first glance, but the Amiga would regularly write the CHS values for drive access ahead of actually switching to the drive it wanted, so I assume this is how it's actually supposed to work.
The second drive still doesn't mount automatically on boot, but I believe that some currently unsupported register write or read is causing this.
2021-01-15 04:30:52 +01:00
beeanyew
29a3773323 Fix keyboard hook shortcut key 2021-01-14 11:29:57 +01:00
beeanyew
bd63fe663a Fix A4000 Gayle 2021-01-14 01:11:51 +01:00
beeanyew
00af8cb29a Add working keyboard forwarding for Amiga 2021-01-12 15:57:07 +01:00
beeanyew
dea7771c3e Fix masked FillRect, add buptest bus tester 2021-01-10 10:51:03 +01:00
beeanyew
a66c55892a Fix up mouse forwarding 2021-01-10 01:25:52 +01:00
beeanyew
c7df5946af Add mask handling to all RTG ops, add real time disassembly output 2021-01-09 21:58:20 +01:00
beeanyew
cbf115e82b Fix some bugs, accelerate Planar2Chunky
P2C still not working due to some P96 shenanigans
2021-01-09 11:08:51 +01:00
beeanyew
b896610573 GPIO/IRQ improvements from Claude 2021-01-06 13:15:09 +01:00
beeanyew
2e76e75128 Some Musashi mapping and RTG fixes/debug 2021-01-06 13:13:05 +01:00
beeanyew
fea1cb946a MORE STUFF
(It doesn't quite work properly.)
2021-01-05 18:02:41 +01:00
beeanyew
d476f11507 Updated SDL2 RTG output courtesy of Claude 2021-01-05 13:27:00 +01:00
beeanyew
fa52466319 Dysfunctional SDL2 RTG output 2021-01-05 03:01:12 +01:00
beeanyew
a0664148fd Add dumb framebuffer RTG
Driver source, prebuilt .card files available in rtg_driver_amiga directory.
RTG enabled by specifying "setvar rtg" at the end of the config file.
There is currently no visual output, because it's 4 AM.
2021-01-03 03:55:49 +01:00
beeanyew
9816c34da0 Some more cleanup, improve IRQ checking a little 2021-01-01 19:16:18 +01:00
beeanyew
dfa1c598ba Some random cleanup 2021-01-01 18:22:05 +01:00
beeanyew
e4c00f2d33 Update config_file.h, emulator.c, and amiga-platform.c 2021-01-01 14:46:23 +01:00
beeanyew
a03d104d5a Update Gayle.c, emulator.c, and amiga-platform.c 2021-01-01 13:32:51 +01:00
beeanyew
0eb7deffb6 Fix silly RTC and emulator.c mistakes 2021-01-01 11:59:35 +01:00
beeanyew
aa87267035 Fix a bunch of stuff, add working RICOH RTC emulation.
The MSM/OKI RTC emulation probably also works, but DiagROM seems to be reading it wrong.
2021-01-01 01:24:04 +01:00
beeanyew
20b1a1fa0b More tiny optimizations, some Z2/Z3 fixes
Also disables keyboard input for now, until more investigating can be done.
2020-12-28 16:13:25 +01:00
beeanyew
7096342f71 Some minor optimizations, hopefully fewer jumps and such 2020-12-26 22:54:10 +01:00
beeanyew
74fe0f61f3 Adjust keyboard event file path
Also adds a command line switch --kb-file that lets you specify the path to the file path currently receiving events from the keyboard.
2020-12-06 13:09:15 +01:00
beeanyew
97ab27cbb3 [WIP] Add platforms, Z2 config file-based autoconf Fast 2020-12-05 19:56:32 +01:00
beeanyew
e650e632ea [WIP] Keyboard event handling 2020-12-04 22:56:10 +01:00
beeanyew
eaf0b75ba9 Disable keyboard input for now
Apparently termios performance is terrible. Should probably be in a thread non-blocked by the CPU emulation as well.
2020-12-04 08:35:22 +01:00
beeanyew
9f05271f60 kbhit performance impact test 2020-12-04 08:27:29 +01:00
beeanyew
8ae1ec5be8 Cleanup, move mouse/keyboard input code out of emulator.c 2020-12-04 08:11:29 +01:00
beeanyew
b613f2e9a9 Rework some emulator stuff, update sample X68000 config for OVL 2020-12-03 15:05:10 +01:00
beeanyew
37bb73e0c6 Initial config file+memory map implementation 2020-12-02 18:17:27 +01:00
Claude
41750ae65d CPU set to 020 2020-11-29 13:19:17 +00:00
Claude
ba010a56c4 IDE IRQ works 2020-11-29 13:17:59 +00:00
Claude
c04428366e Merge branch 'main' of https://github.com/captain-amygdala/pistorm into main 2020-11-24 18:38:31 +00:00