Aaron Culliney
55418504f4
Fix testing after recent video scanner upheaval
2018-11-17 12:39:43 -08:00
Aaron Culliney
fb44420713
Testing is beginning to work again after upheaval
...
- testcpu, testvm, testdisk all look good
- TODO : testdisplay, etc ...
2018-11-11 19:43:49 -08:00
Aaron Culliney
75edac3ace
First cut at implementing conformant video scanner
2018-07-29 18:33:17 -07:00
Aaron Culliney
e4e0c941d3
Refactor CPU assembly for simplicity and efficiency
...
- Variables needed in assembly now accessible in a struct pointer that avoids __PIC__ nastiness
- Reduces code size and execution time for CPU thread
2018-01-15 16:19:21 -08:00
Aaron Culliney
167263ab3a
Ensure starting with clean buffer ...
2018-01-15 10:17:02 -08:00
Aaron Culliney
a0c26386e8
malloc returns pointer ;)
2017-11-18 11:38:46 -08:00
Aaron Culliney
f8b4602fca
Beginning to refactor display and backend video
...
- Futher disentangle display, interface, and video backends
- Backend video owns the staging/intermediate framebuffer for now
- Add the beginnings of display update callbacks
2017-08-06 12:12:12 -10:00
Aaron Culliney
5102706441
Ensure that Apple2ix handles invalid gzipped files
2017-07-07 17:57:19 -10:00
Aaron Culliney
b9c4ec4cc3
HACK : bump the timeout to get test passing on slow devices
2017-07-04 08:00:36 -10:00
Aaron Culliney
e1f0557b87
Allow loading test images from /sdcard/apple2ix on Android
2017-05-28 08:48:21 -10:00
Aaron Culliney
9bd59661ed
Refactor disk image UI to use file descriptors and not paths
...
- Push path opening responsibility out of disk6 API in favor of using file descriptors
- Improves handling of readonly gzipped disk images (now data is read without gunzipping or mmap()ing the file)
- Currently represents an API-breaking change for macOS, iOS, GNU/Linux desktop ports (but should be easy to fix)
2017-05-28 08:48:11 -10:00
Aaron Culliney
4bdabcaa9a
Optimize disk6 track switch read/write and improve tracing conformance with AppleWin
...
- No need to read/write if only changed to a "half track"
- Fixes one small glitch in boot disk tracing
2016-10-02 13:58:06 -07:00
Aaron Culliney
c4e3dccc38
Rename disk tracing API
2016-10-02 13:56:56 -07:00
Aaron Culliney
ba09a6aba9
Refactor Disk ][ API to improve tracing conformance with AppleWin
...
- Binary stability change/fix : an 0xEB -> 0xFF in the sync bytes of blank.nib.gz
2016-10-02 13:55:05 -07:00
Aaron Culliney
d4581eb492
Enable testing of 3rd-party disk images
2016-08-27 09:17:23 -07:00
Aaron Culliney
ca73750c44
Various tests works again on Mac
2016-06-26 09:31:56 -07:00
Aaron Culliney
2a405f028f
Streamline and fix test codepaths on Desktop Linux and Android
2016-04-13 19:33:08 -07:00
Aaron Culliney
b065da9f4b
Various test suite improvements
...
- Possibly breaking changes for mobile ... #willunbreaklater
2016-03-26 14:56:34 -07:00
Aaron Culliney
b87273e742
Expand coverage of heap memory checking of debug builds and simplify FREE() calls
2016-02-26 21:26:57 -08:00
Aaron Culliney
e073954ec8
Add a test case that shows a problem with "re-inserted" disks
2016-02-17 22:24:07 -08:00
Aaron Culliney
0c77e4a659
Fix testdisk assertions in debug builds
2016-01-09 14:00:33 -08:00
Aaron Culliney
abae59767c
Enable simple heap memory fencing/scribbling in debug builds
2015-12-31 22:50:43 -08:00
Aaron Culliney
785577e252
Fix some compiler warnings in testdisk.c
2015-12-16 21:11:35 -08:00
Aaron Culliney
9e5274ee18
Flip-flop test to correctly account for e5f08849
2015-12-16 20:56:20 -08:00
Aaron Culliney
2cc23cf35d
Upgrade to GPLv3 "or later" and update copyrights
2015-10-22 21:09:13 -07:00
Aaron Culliney
d46a62a4dd
Refactor to load whole disk image into memory
2015-10-18 15:24:34 -07:00
Aaron Culliney
b496d771f6
Moar data for disk write tracing
2015-10-18 12:44:24 -07:00
Aaron Culliney
41ae0266e2
Bugfix : flush disk buffer data on initialize
...
- Fixes disk image corruption issue that was manifesting in testing
- Out-of-space test(s) now results in a disk image with a correct length byte of 0x20 for the final "JUNK7" file in
the disk image's VTOC
2015-10-18 12:11:09 -07:00
Aaron Culliney
39c09a042f
Do not return sync bytes if no image inserted
...
- This really should be backed by more testing or research =P
2015-10-17 13:23:49 -07:00
Aaron Culliney
4e478d369c
Refactor disk interface API function names
2015-10-15 22:51:44 -07:00
Aaron Culliney
3b832a1aba
No really, post out-of-space stability testing of raw disk image bytes
2015-10-12 20:30:54 -07:00
Aaron Culliney
427a90d755
Post out-of-space stability testing of raw disk image bytes
2015-10-12 20:17:05 -07:00
Aaron Culliney
aa225d6e48
Add some new disk I/O tests for stability
...
- test that BLOADing a bunch of junk files results in expected data
- test that disk image files themselves are unchanged after the battery of tests
2015-10-11 11:51:51 -07:00
Aaron Culliney
d93a91cca8
Tests build and run on Desktop Linux and Android
2015-10-04 13:29:17 -07:00
Aaron Culliney
236b8e358a
INITHELLO with -UCONFORMANT_TRACKS now passes
2015-10-04 12:35:38 -07:00
Aaron Culliney
db46b281cc
Fix -UCONFORMANT_TRACKS testing (with vanilla gzipped test disk images)
2015-09-11 23:37:52 -07:00
Aaron Culliney
0b8f9d2dfb
Test parameters change when not -DCONFORMANT_TRACKS=1
...
- BUG : INIT HELLO not working for DO and PO images with CONFORMANT_TRACKS undefined
2015-09-06 23:31:02 -07:00
Aaron Culliney
cd1669dfca
Refactor out abusive traces into different test file
2015-09-06 22:57:51 -07:00
Aaron Culliney
a1c497bfa0
Lightly refactor testing codepaths for desktop Linux and Android
2015-09-06 22:10:25 -07:00
Aaron Culliney
3b5f57b0cf
Get tests working again on desktop Linux
2015-09-05 12:22:29 -07:00
Aaron Culliney
966ba0a2d8
No disk in drive (or invalid track) should return 0xFF
...
- Bug introduced in e01e437
- Bugfix allows U5 Journey Onward to work =P
2015-05-25 13:36:17 -07:00
Aaron Culliney
d657ab8c46
Unstick Mac builds and tests
2015-03-10 10:22:47 -07:00
Aaron Culliney
1c7e707af9
Comment pthread_join()
...
- Blocks Android rendering
- Unnecessary for GLUT/Linux renderer
- Might need to be worked around for Mac tests
2015-02-24 15:49:57 -08:00
Aaron Culliney
48625458cf
testdisk.c is starting to run on Android
2015-02-24 12:10:51 -08:00
Aaron Culliney
c332a89738
Don't run finicky or abusive tests by default
...
- But keep them around for such times as when we're not sure why a particular emulated program is not working =)
2015-01-31 14:27:13 -08:00
Aaron Culliney
87a2d081d3
CPU_TRACING now emits machine cycles
2015-01-11 18:37:57 -08:00
Aaron Culliney
dcafae8390
read_rand() is really just floating_bus() return
2015-01-10 19:42:00 -08:00
Aaron Culliney
1ba28db8d7
Varous VM switches return memory floating bus value
2015-01-10 18:46:49 -08:00
Aaron Culliney
06011e2902
New disk tests and improvements
...
- Exercise various TRACING codepaths
- Adds ProDOS-order tests
2015-01-03 16:24:02 -08:00
Aaron Culliney
ffd4647693
Make test_breakpoint() function work again
2014-12-29 21:36:21 -08:00