Commit Graph

61 Commits

Author SHA1 Message Date
meepingsnesroms
76795fc01f function macros seem to work as long as they dont call eachother
Also add a shared buffer to reduce stack usage.
2018-04-06 20:18:31 -07:00
meepingsnesroms
79c05fef5f Suprisingly palm os sprintf supports l, but still lacks hh 2018-04-05 20:22:33 -07:00
meepingsnesroms
416fa9c54c Start var viewer, next is a trap viewer for FileClose 2018-04-05 17:23:05 -07:00
meepingsnesroms
7518246877 Clean ups add file dumping(really just installs the data as a pdb)
Need to use VFSmgr if I want real files
2018-04-05 13:10:33 -07:00
meepingsnesroms
6fcb3431c0 Fix savestate SIGSEGV 2018-04-05 09:07:48 -07:00
meepingsnesroms
87661261a7 Restrain register accesses 2018-04-05 09:01:07 -07:00
meepingsnesroms
38db661225 Redo memory access, should now be faster and more configurable
Compiles, was not run tested
2018-04-04 20:46:44 -07:00
meepingsnesroms
f5c760e3cd Add emulator features, cleanups, start crash handleing stuff 2018-04-04 15:57:21 -07:00
meepingsnesroms
77be71faf2 Hex viewer and nibble select working somewhat 2018-04-04 13:25:00 -07:00
meepingsnesroms
def015289f Hex ram viewer is working but cant select start address 2018-04-04 12:56:20 -07:00
meepingsnesroms
2c77afc277 Make emu register specification 2018-04-04 12:24:14 -07:00
meepingsnesroms
71e1aa52d1 Fix = inplace of == 2018-04-04 09:36:22 -07:00
meepingsnesroms
6836853d13 Timing fix for VZ HW timers 1 and 2 2018-04-03 16:30:58 -07:00
meepingsnesroms
6600b9b682 Start adding debug functions 2018-04-03 16:10:24 -07:00
meepingsnesroms
23586362ec Only use ugui for text rendering 2018-04-03 13:15:29 -07:00
meepingsnesroms
5dbbd5cc8f Clean up more c89 and Palm OS int length crap 2018-04-03 11:19:43 -07:00
meepingsnesroms
9abbeaa9b3 Fix 2 bugs 2018-04-03 10:25:54 -07:00
meepingsnesroms
391d0c673f Hook up init function, formatting fixes 2018-04-03 10:13:33 -07:00
meepingsnesroms
2305b8851a Remove stdlib functions 2018-04-03 09:44:52 -07:00
meepingsnesroms
015a367d43 Use OS sprintf, color swap 2018-04-03 09:36:44 -07:00
meepingsnesroms
28d682079f Clean ups, rendering now works 2018-04-02 22:49:36 -07:00
meepingsnesroms
c550f83b1b Cleanups, try to fix video 2018-04-02 20:23:57 -07:00
meepingsnesroms
7e33be296b Finally loading and closing properly 2018-04-02 20:02:46 -07:00
meepingsnesroms
d8abe609db More c89 fixes, disable icons 2018-04-02 19:25:20 -07:00
meepingsnesroms
593c19d336 Now compiles, has hex ram/rom browser 2018-04-02 16:34:55 -07:00
meepingsnesroms
191ed06e60 Now c89 compliant and compiles 2018-04-02 14:09:30 -07:00
meepingsnesroms
38545fbe49 Try to make c89 compliant and remove stdbool.h which conflicts with PalmOS.h 2018-04-02 14:00:19 -07:00
meepingsnesroms
35eae76c51 Start writing test framework
Doesnt compile yet
2018-04-02 12:48:11 -07:00
meepingsnesroms
887b67e6e9 Move gimp files, hwTestSuite finally compiles 2018-04-01 10:51:46 -07:00
meepingsnesroms
5bdb89900d Test now compiling, but with icon errors 2018-03-31 19:23:46 -07:00
meepingsnesroms
9c3d6d46df Start working on test suite
This will dump the bootloader and do other tests
2018-03-31 18:30:43 -07:00
meepingsnesroms
8e541ea8d0 Add ugui stuff for device tests 2018-03-31 15:56:29 -07:00
meepingsnesroms
7e0cbed6e2 Update makefile for bootloader dumper, use argonv icons
The argonv icons will be changed to chips when possible.
2018-03-30 12:16:29 -07:00
meepingsnesroms
6d5d7791cb Check if sed1376 clock is connected before reading or writing its addresses
Also start boot loader dumper
2018-03-30 10:49:53 -07:00
meepingsnesroms
5cf299d8ba Add button access, define port d access 2018-03-30 00:10:23 -07:00
meepingsnesroms
0035dcb89a Add ui/emu interfaces 2018-03-29 20:19:31 -07:00
meepingsnesroms
8cd8303148 Add more register configs 2018-03-29 19:11:06 -07:00
meepingsnesroms
38f4a4f1ab Implement timer 1 and 2 2018-03-28 20:05:50 -07:00
meepingsnesroms
ac7b8b57c1 Spacing in readme 2018-03-28 12:42:50 -07:00
meepingsnesroms
70204f09d2 Readd all files because GitHub is having an issue with case sensitivity on Mac OS 2018-03-28 12:36:22 -07:00
meepingsnesroms
6ea45316b0 Delete all files because GitHub is having an issue with case sensitivity on Mac OS 2018-03-28 12:19:14 -07:00
meepingsnesroms
ada5d1057a Categorize the input variables, etc...
Also only use non length specific ints when interfacing with musashi,
use doubles for cycle counting because the integer divisions could
prevent timers from incrementing if the timer clock was less than 1
clk32 cycle
2018-03-28 10:25:15 -07:00
meepingsnesroms
9e98bf12fe Remove redundant variable, add missing cpu cycles per clk32 pulse calculation
Also implemented the watchdog timer, proper interrupt vector handler
and 16 bit writes to some 32 bit registers.
2018-03-27 22:36:40 -07:00
meepingsnesroms
fd8cf2c3f0 Silkscreen and opcode patching now work 2018-03-27 16:36:43 -07:00
meepingsnesroms
3b1da36e6b Update libretro build system and separate it from emulator
In the future it will have a qt port that supports touchscreens on
android and iOS.
2018-03-27 15:34:57 -07:00
meepingsnesroms
a16b8cace4 Implement first cpu32 instruction 2018-03-27 12:54:43 -07:00
meepingsnesroms
16563bd378 start adding cpu32 opcodes 2018-03-27 10:39:22 -07:00
meepingsnesroms
e4191892e4 More interrupts 2018-03-26 09:50:09 -07:00
meepingsnesroms
3a198f5160 Started on interrupts
This revision compiles
2018-03-25 15:46:04 -07:00
meepingsnesroms
70b058fa0e More register stuff 2018-03-25 12:24:38 -07:00