Commit Graph

190 Commits

Author SHA1 Message Date
beeanyew
68dceb9859 Something PiSCSI 2021-08-12 14:24:57 +02:00
Andrew Hutchings
062587fe03 Fix Amiga reboot when DPMS is on
When the Amiga reboots with DPMS enabled but not asleep the HDMI is
reset which breaks the Raylib window.

This patch only resets the HDMI if the thread has been stopped first.

Also fix thread leak when DPMS terminates the RTG thread.
2021-08-05 15:54:40 +01:00
Andrew Hutchings
c6e5579973 Redo the DPMS patch
The first version can cause the RTG to reinitialize badly, causing
PiStorm to die. This version will gracefully shutdown the RTG thread if
DPMS is enabled and start the thread again when it wakes up.
2021-08-04 17:19:56 +01:00
Andrew Hutchings
5e939adb8c Add DPMS to RTG
This uses the Pi monitor control to turn the monitor off and on. Turning
on requires a full reinit of RTG including creating a new InitWindow so
the reinit functionality has been changed slightly.

It is enabled by setting the variable "rtg-dpms" in the config file.
2021-08-04 10:38:10 +01:00
Andrew Hutchings
ce1afb558a Update PiDrive for pisimple changes 2021-08-01 08:39:02 +01:00
beeanyew
bbc5cdfcce Update boardinfo.h and settings.h 2021-07-31 10:24:37 +02:00
beeanyew
aa714f6f41 Add shutdown command to PiSimple 2021-07-29 17:33:12 +02:00
beeanyew
c9da0ea940 Hide FPS by default again 2021-07-29 14:10:17 +02:00
beeanyew
0c5ec1e5cc Only update RTG palette texture after set_clut_entry calls 2021-07-28 16:32:49 +02:00
beeanyew
8f5bd4a5f7 Actually reapply scale filter setting on mode change 2021-07-28 10:29:42 +02:00
beeanyew
3f85e56bbf Merge pull request #69 from LinuxJedi/rtg-gui
Add new RTG features to GUI
2021-07-27 11:05:52 +02:00
Andrew Hutchings
2a9c029918 Add new RTG features to GUI
Aspect ratio and smoothing.
2021-07-27 09:57:18 +01:00
beeanyew
790635865c Update Pi 3 raylib files 2021-07-27 09:39:29 +02:00
beeanyew
ea4eec359e Add RTG scaling commands to PiStorm device
This temporarily breaks the PiStorm temperature display, since I had to adjust the register offset for it.
Scale filtering currently doesn't work properly, probably due to unexpected use of shaders, will look into it later. Stick to point filtering for now.
2021-07-27 03:21:35 +02:00
Andrew Hutchings
bf6ca28850 Rebuild pidrive
Includes latest binary updates
2021-07-22 16:15:16 +01:00
beeanyew
2cd89a0070 Fix 320 pixel wide screen modes not scaling up when they should 2021-07-22 13:09:19 +02:00
Matt Harlum
0ab099077a slow-to-chip: Fixup agnus detection
Write to VPOSW before reading Agnus id seems to fix cold boot Agnus id read failure

Add "force-move-slow-to-chip" config option to force-disable Agnus check in case issue persists
2021-07-18 16:26:20 +02:00
beeanyew
4723af7f0e Add annoying warning message to PiSCSI
Detect four of the most common types of UAE Single Partition hardfiles and warn the user in case one is spotted as being mounted by PiSCSI.
2021-07-15 20:05:37 +02:00
Andrew Hutchings
589cd394c3 Add missing include 2021-07-14 12:13:10 +01:00
Andrew Hutchings
63b07ef4dd Add CPU temperature readings to UIs
The CLI now has --get-temperature and the GUI shows the temperature in
the status bar. The GUI refreshes once every second.
2021-07-14 12:04:04 +01:00
beeanyew
b7a77353de Add setvar rtg step to RTG readme file 2021-07-14 08:50:28 +02:00
beeanyew
1b083a0771 Update RTG readme file 2021-07-14 02:42:31 +02:00
beeanyew
fc8a8b1aeb Add Amiga platform setvar readme file 2021-07-14 02:34:08 +02:00
beeanyew
d0467f0811 Update PiSCSI readme 2021-07-11 17:33:30 +02:00
Matt Harlum
ff9f2aa632 Add DF1 bootselect, Add option to move slow ram to chip ram 2021-07-10 20:15:30 +02:00
Andrew Hutchings
ff69e7de23 Add symlinks for PiGFX Files directory
Some users are trying to run the PiGFX from git, this won't work without
the Files directory so I've recreated it just for them using symlinks.
2021-07-10 15:46:44 +01:00
Andrew Hutchings
5b0ec3aa8b Update PiGFX Installer
New version provided by Lemaru.
2021-07-10 08:35:28 +01:00
beeanyew
b06d231bc4 Get rid of all these multiplications 2021-07-09 15:55:52 +02:00
beeanyew
fc8f293732 Fix PiSCSI LUN/address things, maybe. 2021-07-09 15:53:06 +02:00
beeanyew
b48b362274 Update PiSCSHI readme
Add/correct some information, remove any notes about it being work in progress.
2021-07-08 19:15:02 +02:00
beeanyew
10689c6c24 PiSCSI: Support boot priority setting 2021-07-02 19:20:08 +02:00
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
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
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
Paulo Duarte
fcd850c495 Amiga emulated IRQ implementation 2021-06-27 04:24:38 +01: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
22b742ee9e Disable mouse/kb hook on Amiga platform shutdown 2021-06-19 01:05:08 +02:00
beeanyew
fb39e1127d Fix config reload?
Apparently I forgot to stage a hunk, also don't attempt to initialize A314 emulation if it has already been initialized.
2021-06-18 10:39:39 +02:00
Andrew Hutchings
b038f14284 Rebuild HDF with latest RTG changes 2021-06-11 16:45:47 +01:00
beeanyew
41566c18c9 Some PiSCSI file system reloc changes 2021-06-11 09:09:50 +02:00
beeanyew
0f16606749 Magically fix PiSCSI custom file system loading from disk
By adding a single line of code that I forgot to type in. Hello boilerplate.
2021-06-10 20:29:10 +02:00
beeanyew
8ebbc29a79 Some non-working loading of file systems from disk for PiSCSI 2021-06-10 20:20:05 +02:00
beeanyew
7a5036ff51 Rework RTG WaitVerticalSync a bit 2021-06-08 11:13:29 +02:00
beeanyew
90c802592b Fix P96 2.1E(?) issues
The Picasso96 bundled with some WB installs was refusing to enumerate any modes when encountering a palette or graphics controller type higher than its old assigned maximum.
This should fix the problem with sometimes being unable to find any graphics modes through the CyberGraphX API.
NOTE: Requires reattaching the Picasso96 settings to the board, since the palette/graphics controller chip type has changed.
2021-06-08 10:04:27 +02:00
Andrew Hutchings
97a56fb95f Update pistorm.hdf for RTG changes
New P96 patch file from Lemaru and update the card files in the HDF.
2021-06-07 16:49:20 +01:00
beeanyew
cd3b5fb954 Some RTG fixes
Fix RTG screen not being re-enabled after boot without an initial SetSwitch 0 call, should take care of issues switching resolutions and rebooting with Aminet Picasso96
Add hold left shift to not initialize RTG driver, thanks to flype
2021-06-07 04:12:16 +02:00
Andrew Hutchings
87d70b2437 Fixes to pistorm.hdf
Now does the following:
* Uses a DOS/1 filesystem binary
* Creates a partition 100% of the disk size
* Adds Lemaru's PiGFX_Installer
* Adds missing .info file
2021-06-06 07:30:21 +01:00
beeanyew
70cc4f9be3 PiSCSI hunk reloc change
Came across a version of PFS3AIO with an excessive number of hunk relocations in the binary compared to the ones I've seen.
Fixes segmentation fault when loading said file systems, requires `make` and `make clean` to take effect.
2021-06-04 16:34:22 +02:00
beeanyew
af40e3c7a3 Actually include pistorm-dev-enums.h 2021-06-04 09:38:37 +02:00