Commit Graph

41 Commits

Author SHA1 Message Date
beeanyew
aa714f6f41 Add shutdown command to PiSimple 2021-07-29 17:33:12 +02:00
Andrew Hutchings
2a9c029918 Add new RTG features to GUI
Aspect ratio and smoothing.
2021-07-27 09:57:18 +01: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
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
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
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
af40e3c7a3 Actually include pistorm-dev-enums.h 2021-06-04 09:38:37 +02:00
beeanyew
5c60601e00 Fix PiStorm dev memcpy, correct extern gayle_emulation_enabled type 2021-06-04 09:37:33 +02:00
beeanyew
ffdf080c87 Some RTG bug fixes, (inactive for now) P2C iRTG implementation
Fix P2C/P2D behavior when swiching between color depths.
Add P2C iRTG implementation. This is currently too slow to be used due to the massive amount of single ps_read_8s, needs something to copy all the data similar to the RTG driver code.
2021-06-03 22:16:12 +02:00
Andrew Hutchings
4eebea8180 Fix font rendering issue in GUI
In OS3.9 and others a different font is used which screws up the layout
for the PiStorm GUI gadgets. We now fix this to Topaz 8 so that it is
the same as other Amiga OS versions.

Also fix Disk.info to show all files and rebuild the hdf.
2021-05-30 08:31:25 +01:00
beeanyew
f765804747 Minor cleanup
Make PiSCSI always print to console if no handler is found for the file system, since this can cause a reboot loop.
Move PiStorm device SWREV out of debug output define check.
Silence loadseg debug message.
2021-05-22 04:28:36 +02:00
beeanyew
5a120a647d Add support for automatic ROM range dumping to memory/file 2021-05-21 18:53:31 +02:00
Andrew Hutchings
babecbe169 Add PiStorm utilities / drivers HDF
A small hard drive image that includes all the utilities and drivers for
PiStorm. Along with a shell script to rebuild it.

It is mounted by default using piscsi6 when piscsi is enabled.

This branch also fixes the GUI crash that can happen when an interrupt
fires during a ROM switch.
2021-05-19 13:25:57 +01:00
Andrew Hutchings
4e14f345d2 Fix PiSimple build.sh
proto/expansion.h is needed for GCC and it doesn't hurt VBCC, so let's
bring it back.
2021-05-17 14:53:38 +01:00
Andrew Hutchings
e9667becfa Fix interact binaries
PiStorm binary locked up the system on NTSC due to moving the window out
of the bounds of the screen. Now starts at a more sensible position.

PiSimple binary just needed recompiling. For some reason it wasn't
detecting the board.
2021-05-17 08:00:59 +01:00
beeanyew
d987600366 Get rid of having to manually set pistorm_base_addr for PiStorm device SDK 2021-05-16 08:05:56 +02:00
Andrew Hutchings
23bb1f8441 Add Kickstart 3.2 + more
* Kickstart 3.2 confirmed to be v47
* Update PiStorm binary with recent dep code changes
* Add CopyMems to ADF and LHA scripts
* Add exec bit to CopyMems
2021-05-14 22:14:05 +01:00
beeanyew
d568fe56e4 Fix COPYRECT_EX check, speed up MEMCPY 2021-05-14 00:20:45 +02:00
beeanyew
9f1f1589c1 Add makeshift PiStorm-powered CopyMem/Quick patcher
Probably doesn't work properly with MMU libraries installed, be advised.
2021-05-13 19:06:40 +02:00
beeanyew
976d279977 Add PiStorm API commands to toggle RTG FPS display/palette debug 2021-05-11 13:26:59 +02:00
beeanyew
6fbaf6d884 Fix PiStorm dev manual memset, change RTG FPS display/palette debug stuff 2021-05-11 12:14:50 +02:00
beeanyew
b1ad02893d Add memset to PiStorm API, robustify some things to not destroy the bus 2021-05-11 11:48:53 +02:00
beeanyew
9efade7d17 Merge pull request #23 from LinuxJedi/generation_scripts
Add GUI generation scripts for ADF and LHA
2021-05-10 17:14:39 +02:00
Andrew Hutchings
65aaff6b83 Add GUI generation scripts for ADF and LHA 2021-05-10 16:11:00 +01:00
beeanyew
88afad799e [WIP] RTG Stuff and things 2021-05-07 19:00:23 +02:00
beeanyew
d09a3356ce Update config_file.c, amiga-platform.c, and 3 more files... 2021-05-06 21:26:58 +02:00
beeanyew
b35d6ddfe9 [MEGA-WIP] RTG things 2021-05-06 20:27:30 +02:00
Andrew Hutchings
007b35ae52 Cleanup warnings and LinuxJedi's docs
This branch:
* Adds information on modifying the systemd script provided in
  boot_scripts
* Adds documentation for the newest options on the PiStorm gui
* Fixes a memory leak and a potential crash on alloc failure for the gui
* Minor text changes in the gui
* Fixes minor compiler warnings for the PiSimple CLI (both for GCC and
  VBCC)
2021-05-02 17:17:16 +01:00
beeanyew
2910224b50 Add pi_memcpy to pistorm_dev.c/h 2021-05-02 06:12:59 +02:00
beeanyew
9a3a51efc7 Add MEMCPY to PiStorm device 2021-05-01 20:58:00 +02:00
Andrew Hutchings
b77d569289 A whole bunch of GUI changes
* Buttons and boxes height reduced
* Almost everything moved around a bit to make space
* Added shutdown button
* Added kickstart switch gadgets
* Switched from AutoRequest to rtEZRequest for most things (apart from
  the error where we couldn't load reqtools)
* Text fixes
2021-04-27 08:09:37 +01:00
Andrew Hutchings
874c4732ab Add file retrieval to GUI
GUI version 0.2 alpha.

You can now retrieve a file from PiStorm to save in your Amiga. Reqtools
now included to pick a destination drive / directory.

Also a reboot button was added and some other things fixed.
2021-04-26 09:04:06 +01:00
Andrew Hutchings
427a67c554 Initial alpha of the PiStorm GUI tool
It can only change the config file and enable/disable RTG right now, but
it a framework for adding more things in the future.

Some of the CLI tool code was slightly modified for VBCC compatibility,
most importantly, some macros that didn't work were expanded and some
includes were changed.
2021-04-25 08:10:57 +01:00
beeanyew
852bfb6e64 Add Pi->Amiga file transfer to PiStorm interaction device 2021-04-25 07:48:24 +02:00
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
2803e02871 Some more work on the PiSCSI interaction device 2021-04-23 05:54:36 +02:00
beeanyew
401af2013f Add PiStorm simple interaction example application 2021-04-23 04:44:32 +02:00
beeanyew
170a6d61dc Add PiStorm interaction autoconf device 2021-04-23 01:55:05 +02:00