Commit Graph

196 Commits

Author SHA1 Message Date
meepingsnesroms
c668ddccb9 Major cleanups
No longer wasting bandwidth with 64 bit commands, start adding IRDA VNC client
2018-05-17 13:31:37 -07:00
meepingsnesroms
a8f3e2503e Remove window manager from ugui, significantly reduces code size
It compiles now, may still not load.
2018-05-14 19:42:57 -07:00
meepingsnesroms
2d242a9b4e And the applications time has come, for it crawl forth beyond the 32k code limit
Still doesnt compile
2018-05-14 17:53:16 -07:00
meepingsnesroms
526c0da37f Start adding IR communication functions, may not compile 2018-05-13 15:09:18 -07:00
meepingsnesroms
6d3a384849 Clean ups, start working on IRDA protocol to remote control a Palm from the computer 2018-05-13 09:40:01 -07:00
meepingsnesroms
03da8fff08 Add new bootloaders, finally got one for the target platform 2018-05-12 19:53:17 -07:00
meepingsnesroms
33dd3be78d Musashi wont compile for Palm OS 2018-05-12 15:11:37 -07:00
meepingsnesroms
774751b12d Create symbolic link step 2 2018-05-12 12:31:01 -07:00
meepingsnesroms
e577f8144f Clean up musashi, prepare to add musashi to hwTests as vm to observe memory accesses
Create symbolic link step 1
2018-05-12 12:30:34 -07:00
meepingsnesroms
f5b1dfcdb8 Add more main board photos 2018-05-12 09:55:09 -07:00
meepingsnesroms
2148c15202 Add new SPI2 test, clie has a touchscreen chip with identical command structure, it can be used to verify the tests work(but not for the actual touchscreen test) 2018-05-10 17:43:04 -07:00
meepingsnesroms
162a184fb5 Set the XCH bit for transfers 2018-05-10 10:23:56 -07:00
meepingsnesroms
58c9d5942b Fix more SPI 2 issues 2018-05-10 10:01:11 -07:00
meepingsnesroms
21951eccd5 Cleanups, try to fix ADS7846 chipselect 2018-05-09 20:46:04 -07:00
meepingsnesroms
22e571d995 Allow exiting from unsafe mode if nothing went wrong. 2018-05-06 15:33:07 -07:00
meepingsnesroms
1b95f25a74 Verify ADS7846 tests load 2018-05-06 15:03:20 -07:00
meepingsnesroms
87bf59d7d2 Add ADS7846 test, remove misleading comments 2018-05-06 14:31:07 -07:00
meepingsnesroms
7a490d01e7 Clean ups prepare for ADS7846 read test 2018-05-06 13:00:08 -07:00
meepingsnesroms
ea70a0ef09 Add PWM1 control register 2018-05-06 09:17:48 -07:00
meepingsnesroms
67af47dbe0 Fix ILCR write function not writing anything 2018-05-05 22:56:17 -07:00
meepingsnesroms
25af94b151 Add support for RTC alarm and stopwatch 2018-05-05 22:45:18 -07:00
meepingsnesroms
ecbb51ffa8 Completely redo timers, now supports timer chaining 2018-05-05 10:56:57 -07:00
meepingsnesroms
c5e52fbc44 Cleanups add touchscreen interrupt logs 2018-05-04 20:38:27 -07:00
meepingsnesroms
7e402bab8e IRQ5 can now be cleared properly with 32bit writes, but touchscreen still doesnt work
It also now powers down shortly after the calibrate touchscreen window pops up, reason is unknown(maybe the OS was killed by the watchdog timer).
Also not trying to print a null pointer anymore.
2018-05-04 20:18:38 -07:00
meepingsnesroms
dd0517191b Move logs with broken program counters. 2018-05-03 22:33:03 -07:00
meepingsnesroms
0667a9e16d The actual program counter is greater than the current opcode location use M68K_REG_PPC instead 2018-05-03 21:49:20 -07:00
meepingsnesroms
8b63e4c525 Fix invalid text format in hex dumps 2018-05-03 20:58:43 -07:00
meepingsnesroms
93ef1e9c58 Clean up timers, add new timer hardware test 2018-05-03 11:29:17 -07:00
meepingsnesroms
659a77da9f CLK32 now controls timing, use commas in macros, fixes conflict with if statements
Clean up timing
2018-05-02 12:05:21 -07:00
meepingsnesroms
d4bc37f72f Use new debug functions to take, full register dump
What ever is wrong with the touchscreen, its written here.
Prescaler 1 fix.
2018-05-01 19:47:16 -07:00
meepingsnesroms
c70f4fe041 Hex viewer is now debugger and manages the debug logs
With printf gone the emulator runs much faster too.
2018-05-01 17:44:09 -07:00
meepingsnesroms
ae7b6681d2 Remove the printf debugLog and replace it with an actual log viewer 2018-05-01 17:06:40 -07:00
meepingsnesroms
fa14f1a591 Allow frontend to define its own debug print handler
Also remove unneeded EMU_DEBUG checks.
2018-05-01 14:02:38 -07:00
meepingsnesroms
ef3d4bac23 Fix 2 nasty ADS7846 bugs
The first caused the control byte to never match a device number.
The second triggered a control byte end if the bit sent was false and ads7846InputBitsLeft == 0.
Made the emulator run at 6x speed for faster boot debugging.
Add register viewer to hex viewer.
Added Palm OS kernel datasheets.
2018-05-01 11:55:39 -07:00
meepingsnesroms
b239c7bffc Touchscreen now triggers, still doesnt work properly 2018-04-30 21:55:54 -07:00
meepingsnesroms
f33daa79f8 Add prototype for edge triggered interrupts
Should just have to be copied to other interrupts.
Currently only on INT_INT0
2018-04-30 21:28:15 -07:00
meepingsnesroms
445717d497 Add proof of post boot. 2018-04-30 17:43:17 -07:00
meepingsnesroms
3740ccdd55 Remove attempted graphics viewer, I can just take a hex dump and view it on rawpixels.net 2018-04-30 17:31:27 -07:00
meepingsnesroms
d07dbb3964 Add hires mainboard photos 2018-04-30 16:08:22 -07:00
meepingsnesroms
966623a981 Remove unneeded romBuffer, it just wastes 4mb 2018-04-30 15:54:27 -07:00
meepingsnesroms
a6bcca468b Add buffer_t to return buffers from sdcard chunk functions
More safety checks.
Also verified the RetroArch port still compiles.
Add separate min and max for signed and unsigned types
2018-04-30 15:05:05 -07:00
meepingsnesroms
888ff8e039 Add support for setting the sdcard from a file, could be useful for palm sdcard game packs
Also make all NULL checks match using !var instead of var == NULL.
2018-04-30 13:36:42 -07:00
meepingsnesroms
08eea8dcd1 Alot, ...
FEATURE_RAM_HUGE is now fully hooked up.
Fix port d edge triggered interrupts when PLL is off.
Add unfinished SPI1 support.
Variable alignment cleanups.
Add more timer registers.
RTC is now set on emulatorInit(), but still not called on emulatorReset() to preserve RTC through resets
2018-04-30 11:21:22 -07:00
meepingsnesroms
0f4c0a1e25 Timer interrupts can now be cleared, fix palmCrystalCycles being read uninitalized in first call to recalculateCpuSpeed() 2018-04-29 23:16:14 -07:00
meepingsnesroms
3a43cbad4b Add timer status lock logic 2018-04-29 21:29:13 -07:00
meepingsnesroms
9f5c8403d9 Add timer compre event and register accessors 2018-04-29 17:28:38 -07:00
meepingsnesroms
c8d1f61144 Cleanups, add more registers 2018-04-29 14:25:10 -07:00
meepingsnesroms
54ae724b5a Add more registers 2018-04-29 14:09:08 -07:00
meepingsnesroms
af29f58714 Hook up ADS7846 2018-04-29 13:19:05 -07:00
meepingsnesroms
64dc2e49d9 Add touchscreen chip datasheet and emulation 2018-04-29 11:06:03 -07:00