Commit Graph

470 Commits

Author SHA1 Message Date
beeanyew
efdda5d4b6 PiSCSI: Allow multiple partitions with the same name
Because people just can't stop naming the partitions on every single one of their hard drive images `DH0` and `DH1`.
If something doesn't work with this approach, I have no idea why, because as far as I can tell in the example boot ROM I have available to me, this is all that one does.
2021-07-02 16:06:19 +02:00
beeanyew
c2294b8c02 Merge pull request #57 from LinuxJedi/gui-fixes
GUI txt fixes
2021-07-01 18:06:59 +02:00
Andrew Hutchings
a088dcea28 GUI txt fixes
* Too many 't's in "Shutting down"
* Properly truncate directory that is too long
* Add more space in boxes for text
* Don't screw up destination data if the text is too long
2021-07-01 16:52:27 +01:00
beeanyew
b2abbe60d9 Add TD_GETGEOMETRY support to PiSCSI driver
This lets for instance giggledisk properly grab the geometry for drives with no valid RDB, allowing for easier mounting of non-Amiga friendly disks.
2021-07-01 04:05:43 +02:00
beeanyew
fdd30f398f Merge pull request #56 from LinuxJedi/fix-gui-paths
Fix PiStorm GUI for source paths
2021-06-30 10:38:06 +02:00
Andrew Hutchings
b86f3b6dcb Fix PiStorm GUI for source paths
If a path was used as source it was appended to the destination, which
most of the time caused an error. This is because the filename was
isolated but then not used.
2021-06-29 19:50:42 +01:00
beeanyew
fe7f7c2965 Merge pull request #55 from LinuxJedi/fix-flash
Fix flash for sudo
2021-06-29 14:25:09 +02:00
Andrew Hutchings
cfc65d4931 Fix flash for sudo
When executed under sudo the wrong shell is used by Debian, causing an
error. This patch fixes the script so it specifies which shell to use.

Note that you don't need to run flash.sh under sudo because it sudos
itself.
2021-06-29 13:21:22 +01:00
beeanyew
b0616b5246 Merge pull request #54 from LinuxJedi/add-cpld-detection
Add flash autodetect
2021-06-29 11:13:33 +02:00
Andrew Hutchings
85eee9f53c Add flash autodetect
Added flash.sh and flash_experimental.sh. These will detect the CPLD
version for EPM240(G) and EPM570(G) and execute the correct flash
command.
2021-06-29 09:46:19 +01:00
beeanyew
49a7beaaee Merge pull request #52 from LinuxJedi/readme-update
Update README to fix some things
2021-06-29 09:09:58 +02:00
Andrew Hutchings
dd5a32583f Update README to fix some things
* Change to Libra Chat
* Change a couple of things that imply Rev B means EPM240 (and therefore
  Rev A means EPM570)
* `chmod +x` no longer needed as the git tree contains the exec bit set
* The output of the nprog commands has changed so updated appropriately
2021-06-29 08:07:46 +01:00
beeanyew
5d8987c1dd Merge pull request #53 from captain-amygdala/main
Update README.md with new IRC info, some PiSCSI corrections
2021-06-29 08:47:03 +02:00
beeanyew
45689acf07 Merge pull request #51 from LinuxJedi/nprog_check
Add checks to buptest and nprog
2021-06-29 03:49:37 +02:00
Andrew Hutchings
11f6414342 Add checks to buptest and nprog
nprog now checks if emulator is running and gives a much clearer success
/ fail with a log file for the more verbose output.

Also buptest now won't run if emulator is running.
2021-06-28 22:16:58 +01:00
beeanyew
208ba3d79d Get rid of Musashi separate writes
The separate writes functionality of Musashi was severely getting in the way of any kind of caching of bus longwords, and I found that the negatvie performance impact of disabling separate writes could be negated by creatively applying the address translation cache to the FC reads/writes instead.
This commit requires a `make clean` before rebuilding the emulator with `make`.
2021-06-28 15:08:28 +02:00
beeanyew
9b1031c859 Fix Musashi compilation with prefetch emulation disabled 2021-06-27 19:20:22 +02:00
beeanyew
fd56d2cd0e Merge pull request #50 from paulofduarte/wip-crap
IRQ emulation and a few Keyboard fixes.
2021-06-27 06:00:22 +02:00
Paulo Duarte
441b0709b4 Fixed Caps Lock behaviour 2021-06-27 04:40:59 +01:00
Paulo Duarte
6aef6ea4b6 Fixed lowercase v on char_from_input_event 2021-06-27 04:40:44 +01:00
Paulo Duarte
5b74c77b1a Keyboard using emulated IRQ 2021-06-27 04:25:11 +01:00
Paulo Duarte
fcd850c495 Amiga emulated IRQ implementation 2021-06-27 04:24:38 +01:00
beeanyew
882bd28428 Unbreak (actually break) IRQs again... 2021-06-26 14:41:48 +02:00
beeanyew
3168b13b6f Remove debug IRQ disable/enable from PiSCSI boot ROM
This somehow broke the interrupt handlers for a bunch of things, including the standard HDD installed version of Monkey Island II.
2021-06-25 05:07:47 +02:00
beeanyew
ea48014e54 Break IRQs again 2021-06-24 09:52:36 +02:00
beeanyew
75c73650a6 Fix Musashi compilation with MMU emulation enabled 2021-06-24 09:34:29 +02:00
beeanyew
0a83e0f5f3 Add System ROM pos setvar to Mac platform 2021-06-24 02:25:33 +02:00
beeanyew
39f4ef5cf8 Actually revert to old IRQ behavior 2021-06-23 10:27:04 +02:00
beeanyew
6695f9335e Revert to new IRQ behavior after some unsuccessful experiments
This brings back all the graphics and music glitches, but it does make fewer games and software lock up on missed IRQs.
2021-06-23 06:43:25 +02:00
beeanyew
77a6ed0756 Actually remove the read/write ranges "properly" 2021-06-23 04:52:44 +02:00
beeanyew
16a902fad2 Add some more Mac68k handling stuff 2021-06-23 04:42:58 +02:00
beeanyew
d485267523 Some more write-through cache RAM map OVL handling 2021-06-22 14:32:45 +02:00
beeanyew
f7034d052a Add OVL handling to write-through cache RAM 2021-06-22 14:00:36 +02:00
beeanyew
ce1c064e71 Add write-through cached RAM for Mac experiments 2021-06-22 13:13:13 +02:00
beeanyew
b550b0d632 Merge pull request #49 from runehol/main
Pass around a m68i_cpu_core pointer instead of accessing it as a global variable
2021-06-21 03:16:16 +02:00
Rune Holm
747b19f7c8 removed most traces of direct access to the m68ki_cpu global variable 2021-06-20 21:42:03 +01:00
Rune Holm
0c763fca70 introducing CPU state parameter 5 - now switched most register state over 2021-06-20 21:42:03 +01:00
Rune Holm
514f1d4e24 introducing CPU state parameter 4 2021-06-20 21:41:55 +01:00
Rune Holm
d06400230f introducing CPU state parameter 3 2021-06-20 21:35:37 +01:00
Rune Holm
6d74804193 introducing CPU state paramter 2 2021-06-20 21:54:08 +02:00
Rune Holm
14636790c6 introducing CPU state parameter 2021-06-20 21:54:05 +02:00
Rune Holm
18cba7ddc6 step 1: add a state parameter to all opcode functions 2021-06-20 21:50:15 +02:00
beeanyew
b7f62f8e5d [HAX] Fix old-new IRQ behavior a bit? 2021-06-20 18:00:31 +02:00
beeanyew
bab7a847c0 Make experimental bitstream optional 2021-06-20 16:59:11 +01:00
beeanyew
9a043dfb87 [HAX] Try some different IRQ behavior
May or may not require a make clean, also may or may not require a custom firmware to work.
2021-06-20 06:13:40 +02:00
beeanyew
0548473f81 Update README.md with new IRC info, some PiSCSI corrections 2021-06-19 16:36:08 +02:00
beeanyew
22b742ee9e Disable mouse/kb hook on Amiga platform shutdown 2021-06-19 01:05:08 +02:00
beeanyew
cdd7b35e35 Merge pull request #48 from runehol/main
Smaller speed improvements
2021-06-19 00:39:10 +02:00
Rune Holm
a2b0521dbd move address translation cache fields from global variables to the m68k struct, as
this way we can pass around one pointer and access them all in the future.
This happens to win 5-10% performance, because now the code generator can generate a single
global variable pointer to get to all of the translation cache/range fields at once.
2021-06-18 22:01:22 +01:00
Rune Holm
b91e0e809d optimise away an unnecessary subtract on the instruction fetch fast path 2021-06-18 22:01:20 +01:00