beeanyew
0720a8caed
Add terrifying Pi shutdown command
...
Should make users nervous about corrupting their SD card more nervous, but somehow doesn't.
2021-04-24 09:28:30 +02:00
beeanyew
3296b79e75
The remainder of the initial PiStorm interaction stuff (I think)
2021-04-23 16:03:36 +02:00
beeanyew
8a14e4c1a1
Add not-so-simple config switching from Amiga side
2021-04-23 13:03:54 +02:00
beeanyew
e4313cfbd3
Remove old IRQ delay debug setting
2021-04-22 03:08:29 +02:00
shanshe
25573d791c
RTG off after Amiga reset
2021-04-20 19:46:58 +02:00
Andrew Hutchings
10d5229b68
Add license information to source
...
MIT license was chosen
2021-04-16 09:06:27 +01:00
just nine
e43b2b5a53
squash silly warning
2021-04-14 23:17:33 +01:00
just nine
3f6d1947e2
handle keyboard/mouse autoconnect
2021-04-14 23:17:02 +01:00
just nine
a0589749d4
reintroduce this label
2021-04-14 22:39:48 +01:00
just nine
a118265cb8
ungrab when quitting emulation
2021-04-14 22:38:32 +01:00
just nine
d3e59a0c0f
support emulation quit (see long msg for more)
...
please note that if loopcycles = 0 then the emulation thread may never
notice the quit request. needs replacing with some form of thread signal
eventually, but that will require a signal handler.
2021-04-14 22:33:13 +01:00
just nine
3b91ccdbc9
global scope not needed, move to kbd_task function
2021-04-14 22:32:08 +01:00
just nine
5fa4ab5cf4
support stealing the keyboard from the input layer
...
this change uses an ioctl to disconnect the keyboard event device from
the input layer, meaning input no longer affects the pi and will
entirely be consumed by the pistorm emulator process.
2021-04-14 22:29:41 +01:00
beeanyew
975ce97643
Remove IDE emulation, update default.cfg with a note about it
2021-04-14 19:46:37 +02:00
shanshe
75bbc70be8
Reset from Amiga CTRL+A+A
2021-04-13 21:53:44 +02:00
shanshe
073c27df8e
Silence some compile warnings
2021-04-13 09:28:50 +02:00
beeanyew
9240897dc2
Add keyboard event source file setting to config-file
2021-04-12 01:32:32 +02:00
beeanyew
9d82117348
Fix shift+R reset sometimes not working, update RTG readme
2021-04-11 11:42:46 +02:00
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