Commit Graph

157 Commits

Author SHA1 Message Date
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
Ry
dafd947987 Redraw the monitor console if invoked while already in the monitor 2022-10-27 19:13:50 -07:00
Ry
7a3c1509a2 Add a cool register dump thing to the breakpoint exception handler 2022-10-27 19:10:03 -07:00
Ry
3c9e2cf32c Fix setting the breakpoint exception handler to the wrong exception oops 2022-10-27 19:07:22 -07:00
Ry
2720d0ddff Ignore the pushed value in interrupts and exceptions
Also handle more types of exceptions.
*** First commit compatible with the C rewrite!! ***
2022-10-26 21:50:29 -07:00
Ry
e5dea368b0 Save r31 in a few routines which previously didn't 2022-10-13 18:52:59 -07:00
Ry
6cc4b18022 Add some keyboard related stuff to the jump table and ROM def 2022-10-10 18:53:18 -07:00
Ry
e3ec282185 Add some missing routines to the jump table 2022-10-05 16:54:52 -07:00
Ry
f10b1d5635 Add default exception handler for page fault writes 2022-09-15 17:43:53 -07:00
Ry
e70e5c37ea Bump version to 0.5.0 2022-09-09 16:05:51 -07:00
Ry
93093fbbcc monitor: Drastically improve the scrolling performance 2022-09-02 14:24:46 -07:00
Ry
9550e1945b Add get_tilemap and get_unused_overlay 2022-09-02 14:23:46 -07:00
Ry
f31a722e4f Add ryfs_tell, bump version to 0.4.0 2022-08-30 16:27:22 -07:00
Ry
f307c55bdd Add default page fault exception handler, bump version to 0.3.3 2022-08-15 17:32:50 -07:00
Ry
594284cd0c Reimplement ryfs_read_whole_file using ryfs_read, bump ver to 0.3.2 2022-08-11 17:06:10 -07:00
Ry
d1009a1680 Fix broken ryfs_read routine, bump version to 0.3.1
There were two issues here:
First, ryfs_read_sector_loop was not setting the current sector to the
next sector of the file being read. This had the effect of making it
read the same sector over and over again.
Second, the destination pointer for the `copy_memory_bytes` call wasn't
being changed after each sector copy.
2022-08-10 18:12:14 -07:00
Ry
5845ea6e60 Add ryfs_get_file_list, bump version to 0.3.0 2022-08-09 23:22:51 -07:00
Ry
c171e99680 Add support for 4 audio channels, bump version to 0.2.0 2022-08-09 01:55:17 -07:00
Ry
78e14ff1f4 Prepare for the 1st release 2022-07-31 17:28:19 -07:00