Commit Graph

175 Commits

Author SHA1 Message Date
mebibytedraco
e28e8eceb0 Move register printout into new 'reg' command 2023-12-22 17:12:22 -05:00
mebibytedraco
09c0d8c215 Remove save/restore of r0-r31 from monitor code
Because the monitor is now only called from system_breakpoint_handler
(which already saves and restores all of the registers), it is now
unneccessary to save and restore all of the registers in the monitor.
2023-12-22 16:34:06 -05:00
mebibytedraco
57409ecb6e Make F12 trigger breakpoint 2023-12-22 15:52:35 -05:00
mebibytedraco
b1aa77aa70 Refactor system_breakpoint_handler
Modifies system_breakpoint_handler so that all fox32 registers are saved
on the stack in a predictable order, and they are printed using a loop.
Also comments out two seemingly unneccessary additions in the monitor's
hex printing functions.
2023-12-22 15:20:53 -05:00
Ry
bb3d709ad6 Add StringToInt to Okameron defs 2023-12-21 15:00:41 -08:00
Ry
13a2083bcf
Merge pull request #11 from mebibytedraco/ryfs-reserved-init-fix
Fix initialization of file_reserved in RYFS
2023-11-29 22:01:30 -08:00
mebibytedraco
d5c36f0061 Fix initialization of file_reserved in RYFS 2023-11-30 00:59:25 -05:00
Ry
1cc0a0def6 Add shift/caps pressed/released to Okameron defs 2023-11-24 15:58:09 -08:00
Ry
f247307575 Add Panic to Okameron defs 2023-11-24 15:34:16 -08:00
Ry
26a6a3288c Add event types and ScancodeToAscii to the Okameron defs 2023-11-22 22:04:23 -08:00
Ry
28f28badaa Add DrawFontTileToBackground to Okameron defs 2023-11-11 23:01:15 -08:00
Ry
af15e2c2de
Merge pull request #10 from mebibytedraco/fix-get_unused_overlay
Fix get_unused_overlay display register usage
2023-07-16 16:50:24 -07:00
mebibytedraco
113062c822 Fix get_unused_overlay 2023-07-16 12:22:25 -04:00
Ry
d8b306536c Add a few overlay management routines for Okameron 2023-06-24 15:53:21 -07:00
Ry
8bd6248c87
Merge pull request #7 from fox32-arch/okameron
Initial Okameron support
2023-06-24 15:42:03 -07:00
Ry
169d84072c Initial Okameron commit 2023-05-23 20:53:47 -07:00
Ry
67e448abd3 monitor: Add load command 2023-03-30 17:36:48 -07:00
Ry
5729ff6c71 monitor: jump command now does an actual exit and jump 2023-03-30 17:36:15 -07:00
Ry
365455a767 Initialize the monitor X and Y coords on startup 2023-03-30 16:23:18 -07:00
Ry
cf456659d6 monitor: Save all registers 2023-03-30 16:15:29 -07:00
Ry
433df07c41 Boot icon cleanup 2023-03-07 18:36:12 -08:00
Ry
a4918d9e3e
Merge pull request #6 from TalonFox/main
Add Mac-style disk icon to Fox32ROM
2023-03-07 18:02:47 -08:00
TalonFox
128fd40516 Added a Mac-style disk icon
Signed-off-by: TalonFox <105325988+TalonFox@users.noreply.github.com>
2023-03-07 19:57:20 -06:00
Ry
0013a9dffc Add an API version 2023-03-06 17:28:10 -08:00
Ry
14bc2afadc Ignore romdisk.img 2023-03-05 17:32:15 -08:00
Ry
8fd1e10dc2 Add is_romdisk_available to the jump table 2023-03-04 23:18:07 -08:00
Ry
7a1b724707 Check if the disk is inserted before opening a file 2023-03-04 21:23:29 -08:00
Ry
bec78c9a10 Add support for a "romdisk" 2023-03-04 21:23:14 -08:00
Ry
9cfb010116 Check for magic bytes before booting a disk's boot sector 2023-03-04 18:14:14 -08:00
Ry
a4efa7e640
Merge pull request #5 from neuschaefer/dev
Make use of data.strz
2023-02-01 14:57:24 -08:00
jn
34589e501f Make use of data.strz
The ROM is the same before and after this commit:

$ sha256sum fox32-orig.rom fox32.rom
75b169dafbf7dc77cd114f7d05d9c1e8459122bc2bd4178a90aba6fd8dc7372e  fox32-orig.rom
75b169dafbf7dc77cd114f7d05d9c1e8459122bc2bd4178a90aba6fd8dc7372e  fox32.rom


The conversion was performed with a few sed commands and manually
unrolled in monitor/keyboard.asm:

find -name '*.asm' | xargs sed -i -e 's/data.str \("[^"]*"\) data.8 0$/data.strz \1/g'
find -name '*.asm' | xargs sed -i -e 's/data.str \("[^"]*"\) data.8 0 /data.strz \1 /g'
find -name '*.asm' | xargs sed -i -e 's/data.str \("[^"]*"\) data.8 0x00 /data.strz \1 /g'
2023-02-01 23:49:23 +01:00
Ry
ff024542ef
Merge pull request #4 from neuschaefer/dev
debug: refer to output facility as "serial port", not "terminal"
2023-02-01 13:41:32 -08:00
jn
e1a7840680 debug: refer to output facility as "serial port", not "terminal"
To avoid confusing it with the terminal application in fox32os.
2023-02-01 20:10:01 +01:00
Ry
0603179547
Merge pull request #3 from neuschaefer/dev
Add new ROM function: poweroff
2023-01-30 13:05:52 -08:00
jn
e5b5f787a0 Add new ROM function: poweroff 2023-01-30 18:58:57 +01:00
Ry
c67c96bf3a
Merge pull request #2 from neuschaefer/dev
GitHub CI: Bump actions/checkout to v3
2023-01-29 17:01:09 -08:00
jn
1abde611ee GitHub CI: Bump actions/checkout to v3
v2 is deprecated and causes a warning on the Actions page.
2023-01-30 00:52:34 +01:00
Ry
1899ed0f67 Show the actual rip value in the monitor when an exception occurs 2023-01-22 16:32:05 -08:00
Ry
8fb3e8a982
Merge pull request #1 from neuschaefer/dev
Fix a bunch of typos
2023-01-21 15:20:54 -08:00
jn
a6be83b99e Fix a bunch of typos
No functional change.
2023-01-21 11:41:14 +01:00
Ry
2893b71847 Add CTRL key definition 2023-01-20 23:29:51 -08:00
Ry
155eed220c Implement very basic RYFS write support; cannot write past end of files
Bumps version to 0.7.0
2023-01-20 18:51:18 -08:00
Ry
b96e6979ca Show a "welcome to fox32" message box in the middle of the screen 2023-01-18 17:53:00 -08:00
Ry
a29ce25843 New bottom bar style 2022-12-29 12:00:49 -08:00
Ry
214181100a Bump version to 0.6.0 2022-12-27 23:22:21 -08:00
Ry
616416ae02 Remove "Insert Disk" menu item 2022-12-26 18:08:29 -08:00
Ry
7df0521e98 Add EVENT_TYPE_MENU_ACK 2022-12-25 14:50:47 -08:00
Ry
05e40bd6cd Ensure the event queue gets initialized properly 2022-11-22 17:31:34 -08:00
Ry
1c73faafa1 Show rsp and rip in the brk register dump 2022-11-12 21:02:32 -08:00
Ry
fdf3f8bcf5 New boot mechanism: load sector 0 to 0x800 and execute it 2022-10-27 22:42:56 -07:00