Aaron Culliney
033dbf71ea
Clean up disk/zlib internal APIs
2017-06-03 05:40:09 -07:00
Aaron Culliney
0468cea2d4
Clarify disk/zlib internal API comments after recent upheaval
2017-05-29 08:05:44 -10:00
Aaron Culliney
b300e60e2a
Persist disk image 'was_gzipped' state
...
- 'was_gzipped' state is persisted in .apple2.json preferences
- This removes all file-renaming codepaths at the cost of temporarily nonconformance to naming convesion (e.g., disk
images inserted read/write are still called 'foo.dsk.gz' although they are not compressed)
- Unclean shutdown of emulator leaves any disk images that were inserted read/write in their non-gzipped state
(regardless of file name extension) on disk until emulator restarted and disk images explictly ejected or clean
shudown. App removal after unclean shutdown will potentially leave mis-named disk images lingering.
- Emulator will handle edge cases of non-gzipped disk images with '.gz' extension and gzipped disk images without
'.gz' extension
2017-05-29 08:05:38 -10:00
Aaron Culliney
399daf16fa
More changes insisted upon by Android Studio
2017-05-28 10:09:14 -10:00
Aaron Culliney
8873fe09d1
U5 soft touch keyboard
2017-05-28 08:51:30 -10:00
Aaron Culliney
5dfa2e8797
Changes insisted upon by Android Studio
2017-05-28 08:49:38 -10:00
Aaron Culliney
4c893cc197
Beginnings of trace testing on Droid
...
- Currently broken because !CONFORMANT_TRACKS
2017-05-28 08:48:24 -10:00
Aaron Culliney
e1f0557b87
Allow loading test images from /sdcard/apple2ix on Android
2017-05-28 08:48:21 -10:00
Aaron Culliney
3de4a181eb
Silence some build warnings on Android
2017-05-28 08:48:16 -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
2ca742650f
Remove Intent handling of disk paths in preparation for refactoring this
2017-05-28 08:48:04 -10:00
Aaron Culliney
31aca92ffd
video flags are unsigned long
2017-05-28 08:47:59 -10:00
Aaron Culliney
6bfbe3cc88
Bump Android version to 1.1.10
2016-11-07 19:37:24 -08:00
Aaron Culliney
14a40e055e
Merge remote-tracking branch 'origin/droid-1.1.8.1' into aaron_experimental_rebase
...
Conflicts:
Android/app/build.gradle
2016-11-07 19:36:59 -08:00
Aaron Culliney
bf0e61c9ea
Android patch release 1.1.8.1
2016-11-05 11:43:42 -07:00
Aaron Culliney
96611beab9
Revert "Avoid doing Mockingboard work as much as possible"
...
This reverts commit 1bb3f75a06
.
- Caused excessive glitching in U4 music
2016-11-05 10:13:35 -07:00
Aaron Culliney
086c7e585a
Update Android Studio
2016-10-30 12:18:23 -07:00
Aaron Culliney
a13caa8bd1
Bump Android version to 1.1.9
2016-10-30 11:43:23 -07:00
Aaron Culliney
6a630714ed
Update README.md
2016-10-26 21:31:42 -07:00
Aaron Culliney
9cc3603d73
HACKishly fix macOS/iOS build
2016-10-26 21:23:34 -07:00
Aaron Culliney
c0a4ced573
Silence a LOG
2016-10-23 18:30:08 -07:00
Aaron Culliney
1bb3f75a06
Avoid doing Mockingboard work as much as possible
...
- Fixes audio underflow issue on ancient Droid devices
2016-10-23 17:40:35 -07:00
Aaron Culliney
ddcef734c7
Disable excessive IRQ checking for now
2016-10-23 17:39:00 -07:00
Aaron Culliney
07c2f3cba8
Fix issue that stricter compiler warned about
2016-10-23 17:38:36 -07:00
Aaron Culliney
d6656a4fff
Insure that preferences are loaded when handling early crashes
2016-10-23 12:11:15 -07:00
Aaron Culliney
2f8381e4df
Don't run lint in Android release builds for now
...
- This currently blows up if we're missing I18N/L10N strings for a [currently] non-supported translation
- We have our own release procedure that should be sufficient at this point
2016-10-22 12:05:01 -07:00
Aaron Culliney
85668fbe35
Moar changes insisted upon by Android Studio
2016-10-22 12:04:14 -07:00
Aaron Culliney
db04d330c7
Expose save-state file in /sdcard/apple2ix
2016-10-22 11:41:16 -07:00
Aaron Culliney
bea9e1ee31
Added new iOS testing targets and misc project changes
2016-10-16 21:30:47 -07:00
Aaron Culliney
3def67975c
Avoid testing certain fragile/non-portable disk state
2016-10-16 19:20:23 -07:00
Aaron Culliney
300c292ec5
HACKishly avoid clock_gettime() build issue with Xcode 8
2016-10-16 19:17:20 -07:00
Aaron Culliney
a6516fc1ad
Changes that Android Studio insists upon
2016-10-16 16:01:01 -07:00
Aaron Culliney
d2e61e5091
Ensure big-endian data in A2V2 save-file format
...
- Also sanity-check buffer read overflow during loading
2016-10-16 16:00:14 -07:00
Aaron Culliney
f6e2ebc028
Add testui target for Android
2016-10-15 19:29:15 -07:00
Aaron Culliney
039063d9b0
Fix test build break
2016-10-15 19:16:12 -07:00
Aaron Culliney
97d538c4d2
Hackishly fix issue on x86 Android __PIC__ builds
2016-10-15 19:07:43 -07:00
Aaron Culliney
5ab68b5503
Fix a broken test on Android
2016-10-15 19:07:10 -07:00
Aaron Culliney
a417249691
Add more tests for save/restore feature
2016-10-15 13:36:03 -07:00
Aaron Culliney
1be2c6fd27
A2V2 save format also saves timing information
2016-10-15 13:34:14 -07:00
Aaron Culliney
37df740fd3
Add save/load state to mockingboard
2016-10-15 13:34:03 -07:00
Aaron Culliney
bb93b5c243
Adjust CPU trace file format
...
- CPU_TRACING now records IRQ check timeout and total cycles
2016-10-09 12:23:48 -07:00
Aaron Culliney
c80e16de3b
Unbreak tests on Android
2016-10-09 12:21:41 -07:00
Aaron Culliney
0be555d7e9
Fix cycle counts in CPU tests after upheaval
2016-10-09 12:20:07 -07:00
Aaron Culliney
1294485a02
Beginnings of a pluggable peripheral card API and fix a CPU boot tracing divergence against AppleWin
...
- In particular, return floating_bus() for non-plugged in cards when accessing the $C100-$C700 range
2016-10-09 12:19:32 -07:00
Aaron Culliney
ccd05e52fe
Improve timing conformance in Mockingboard
...
- Correctly calculate 7 cycles for handling IRQs
- More frequent calls to MB_UpdateCycles()
- Correctly calculate timing for MB_EndOfVideoFrame() when testing/tracing/debugging
2016-10-09 12:19:21 -07:00
Aaron Culliney
4fd6a87340
Pinpoint IRQ requests in CPU tracing
2016-10-02 14:24:04 -07:00
Aaron Culliney
3edb24ea3b
Change cycle counts to conform with AppleWin
2016-10-02 14:23:59 -07:00
Aaron Culliney
3a6c033077
Improve MB_TRACING adherence to baseline
2016-10-02 13:59:15 -07:00
Aaron Culliney
d0b3f632e1
Further improve determinism for Mockingboard tracing
2016-10-02 13:58:50 -07: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