Commit Graph

264 Commits

Author SHA1 Message Date
meepingsnesroms
4e63ca2340 Actually reading from ADS7846 but not correctly 2018-06-29 16:22:57 -07:00
meepingsnesroms
4adf636f3c Merge interrupt tests, IRQ5(PENIRQ) only triggers on pen down 2018-06-29 09:57:33 -07:00
meepingsnesroms
c12d824fc2 New test, minor cleanups and bugfixes 2018-06-26 11:50:55 -07:00
meepingsnesroms
62506e4462 Add new chip select test
Also remove special feature check in chip select setters, that will be handled through emu registers.
2018-06-22 19:42:10 -07:00
meepingsnesroms
86b11ba7dc Both ROMs seem to depend on chipselect doubling
The other information was wrong, removed it to prevent misleading anyone.
2018-06-22 13:56:08 -07:00
meepingsnesroms
63b553eb45 Add backlight levels and readback 2018-06-21 20:21:59 -07:00
meepingsnesroms
1d1b7d73ac Fix PDKBEN triggering invalid interrupts 2018-06-21 15:01:39 -07:00
meepingsnesroms
5f515c4827 Found another GPIO function 2018-06-21 12:57:45 -07:00
meepingsnesroms
e74f0f7408 Fix more ADS7846 issues, make level triggered interrupts clear themselves
Also disable edge triggered interrupts for now as they dident work properly anyway.

Touchscreen now turns the device off.
2018-06-21 12:32:29 -07:00
meepingsnesroms
eafbea75e2 More documentation, clarify m515 ROM types 2018-06-21 11:33:34 -07:00
meepingsnesroms
619507bcd3 Update GPIO map again, speedups
Prevent costly address space resets for writing chip select registers when size and start address stay the same.
2018-06-19 18:19:03 -07:00
meepingsnesroms
493a4ed10a Make SPIDATA2 more accurate 2018-06-19 15:06:23 -07:00
meepingsnesroms
3bbffa65a1 Can now run with or without the bootloader in the Qt port
Also clean up ads7846 functions
2018-06-19 14:38:49 -07:00
meepingsnesroms
163cde8fd7 Update GPIO mapping, new tests 2018-06-19 14:13:11 -07:00
meepingsnesroms
de03bb4104 Now responds to touch input, but by locking up 2018-06-19 11:38:29 -07:00
meepingsnesroms
7f40a26779 Minor bug fixes 2018-06-18 18:01:00 -07:00
meepingsnesroms
bd94671cbc Add proper support for power button LED 2018-06-18 16:40:05 -07:00
meepingsnesroms
fafa4ba218 Update GPIO map, remove port a from tests, it cant be used when the CPU is in 16 bit mode which Palm OS uses 2018-06-18 16:08:57 -07:00
meepingsnesroms
e6911a66cf Add a new test, more GPIO 2018-06-18 12:48:18 -07:00
meepingsnesroms
a0f78c61f3 Cleanups, more GPIO info 2018-06-18 12:12:20 -07:00
meepingsnesroms
f8cf37cb32 Turns out RGB16 actualy puts blue first, title palette fixed
Libretro port builds again too.
2018-06-17 12:51:02 -07:00
meepingsnesroms
5dcef71579 Add m515 ROM with corruption warning 2018-06-17 11:48:41 -07:00
meepingsnesroms
4611410ec3 Move file access to the SD card, upgrade hwTestSuite to the Palm OS 4 SDK for VFS
Files with a length > 65535 wont work with the old method since they are split into resource blocks and cant be copyed out with just a hex editor.
2018-06-17 11:02:45 -07:00
meepingsnesroms
9250099407 Add hotsync info 2018-06-17 02:36:51 -07:00
meepingsnesroms
b3df02b89f Start GPIO map, fix SED1376 state only reflecting the most recently set clock line
Should only be enabled if both are active, before enabling or disabling either would set the SED1376 to that state.
2018-06-17 02:13:55 -07:00
meepingsnesroms
e8a97955ca Allow reading PENIRQ when in GPIO mode, more tests 2018-06-16 16:53:06 -07:00
meepingsnesroms
b8282d3f5e Add some m515 specific information, add bus error handling 2018-06-16 14:07:39 -07:00
meepingsnesroms
bbb7c7c038 Fix sed1376 PIP ending too early
Since I am unable to find out what is wrong with the touch screen I just ported the POSE EvtEnqueuePenPoint hack, it will be removed in the future if possible.
2018-06-09 15:48:44 -07:00
meepingsnesroms
701b53bf9d Add more debugging, add missing hardware ports 2018-06-09 12:02:22 -07:00
meepingsnesroms
f5cd4ea09e Trap launching now works.
Trap launching works, but I launched that trap wrong, the error proves it was called though.

With this the emulator has surpassed PersianTree, my old Palm OS emulator using only 1/8 the code, starting over to use the OS APIs has paid off finally.
2018-06-05 17:02:54 -07:00
meepingsnesroms
f68ffa2a9b Fix rather stupid bug I overlooked when reading from the bootloader 2018-06-05 16:30:36 -07:00
meepingsnesroms
09ec6ed921 Bootloader memory access now works 2018-06-05 12:32:19 -07:00
meepingsnesroms
657e7ebebd Clean up trap handler again, make separate string handlers 2018-06-05 11:43:46 -07:00
meepingsnesroms
2d72deedfc Add more trap calling and debugging tools 2018-06-05 08:37:00 -07:00
meepingsnesroms
3e17dbf35c Just use memset to 0 out structs 2018-06-05 07:17:59 -07:00
meepingsnesroms
2c450fcd4c Add direct trap calling from C 2018-06-05 05:38:18 -07:00
meepingsnesroms
bba07d1ecf Add more mbed tls stuff 2018-06-04 14:42:02 -07:00
meepingsnesroms
8495cbb8aa Start adding mbed tls to the relay 2018-06-03 19:45:43 -07:00
meepingsnesroms
472ac45be2 Now compiling with mbed tls, still cant do anything 2018-06-03 12:10:10 -07:00
meepingsnesroms
ef71c6243b Update to Qt 5.11 2018-06-02 13:32:58 -07:00
meepingsnesroms
8cd7cf755b More work on 3dsIrForwarder, add mbed tls 2018-06-02 12:41:36 -07:00
meepingsnesroms
2da265666e Add more 3ds socket logic 2018-06-01 11:19:10 -07:00
meepingsnesroms
8846b5b85c Add IR speed codes
These are very important to use IR and missing from official headers and docs.
2018-05-31 17:55:38 -07:00
meepingsnesroms
3fb6d28abe Basic stuff for 3dsIrForwarder 2018-05-31 17:35:04 -07:00
meepingsnesroms
166113533a Remove unneeded file access functions 2018-05-29 16:47:54 -07:00
meepingsnesroms
78b9167083 Start adding WIFI serial port, cleanups 2018-05-29 16:09:57 -07:00
meepingsnesroms
1655da847f Flush FIFO finally works 2018-05-29 14:46:39 -07:00
meepingsnesroms
bf9c55db66 Debug path setting
for some reason nothing is written to the debug path
2018-05-29 13:51:09 -07:00
meepingsnesroms
5acec43af0 Fix alot of issues with the local/remote tester
Mainly with uint32_t not being supported in functions exported to QJSEngine.
2018-05-29 11:10:43 -07:00
meepingsnesroms
7b3e1c30b2 Add CLK32 speed test 2018-05-29 08:54:13 -07:00