Commit Graph

39 Commits

Author SHA1 Message Date
Aaron Culliney
8f2ab2f072 Compress cpu65_vmem_* function tables to save space 2019-10-27 16:26:35 -07:00
Aaron Culliney
1491d3f88d Streamline 65c02 cpu on ARM 2019-10-21 07:35:54 -07:00
Aaron Culliney
2615351d46 Optimize and de-macroize BIT computation on ARM 2019-10-20 18:44:06 -07:00
Aaron Culliney
43d99ec9f4 First cut at 65c02 implemented on aarch64 2019-10-06 17:05:08 -07:00
Aaron Culliney
51d2efba03 Streamline CPU tracing codepaths and remove some deadc0de 2018-03-31 12:48:14 -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
ddcef734c7 Disable excessive IRQ checking for now 2016-10-23 17:39:00 -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
2f156d4262 Improve genglue.sh script for generating trampoline functions 2016-07-23 17:24:10 -07:00
Aaron Culliney
635075f34b iOS port is beginning to build again 2016-07-15 21:23:37 -07:00
Aaron Culliney
a5a498f96c Tweaks for arch builds 2016-04-21 22:06:42 -07:00
Aaron Culliney
d44aad062a ARM bugfix: actually return the correct value when reading from slot I/O card
- Allows NSCT.dsk to boot on ARM architecture devices
2016-01-23 13:00:45 -08:00
Aaron Culliney
97f52ef2ff Get Android build unstuck 2016-01-04 20:34:27 -08:00
Aaron Culliney
5737e89150 Initial iOS target compiles, links, and appears to run in simulator and on device =) 2016-01-04 20:34:27 -08:00
Aaron Culliney
f06257b2c5 Add ARM assembly PIC without TEXTREL
- Adds codepaths that allow for Position Independent Code (PIC) that also avoids having TEXT relocations (TEXTREL)
      that the dynamic linker needs to patch up
2015-11-08 14:42:03 -08:00
Aaron Culliney
2cc23cf35d Upgrade to GPLv3 "or later" and update copyrights 2015-10-22 21:09:13 -07:00
Aaron Culliney
ed60b2ea73 Refactor VM initialization and shutdown 2015-09-11 23:03:17 -07:00
Aaron Culliney
358541b8cc Simplify BranchXCycles 2015-03-22 15:46:58 -07:00
Aaron Culliney
abe520d8b7 Remove unnecessary instructions in CPU tracing 2015-03-10 11:15:28 -07:00
Aaron Culliney
f12a4c7142 Bugfix : assure that ARM processor flags are cleared 2015-03-10 11:13:59 -07:00
Aaron Culliney
8d6961c0cb Callee is responsible for saving higher regs 2015-03-10 10:23:52 -07:00
Aaron Culliney
199300ba39 Bugfix bank maybewrite glue 2015-03-10 10:23:52 -07:00
Aaron Culliney
d30a7b8a38 Codepath is now similar to x86 variant 2015-03-10 10:23:52 -07:00
Aaron Culliney
e7ad98535a Correct order for CPU tracing arguments 2015-03-05 21:23:36 -08:00
Aaron Culliney
9cbceac80b Fix bug in GetZPage_X and GetZPage_Y macros 2015-03-05 21:06:42 -08:00
Aaron Culliney
560726728f bugfix CPU reinitialization 2015-02-24 12:11:16 -08:00
Aaron Culliney
792c0a0b08 DAA & DAS algorithms in ARM assembly 2015-02-22 13:46:58 -08:00
Aaron Culliney
d517339842 All 65c02 CPU tests for ARM pass, except for decimal mode 2015-02-21 21:06:01 -08:00
Aaron Culliney
811df361a8 Fixes for ADC_b and AND on ARM 2015-02-19 23:25:33 -08:00
Aaron Culliney
59d151d684 First cut at DAA and DAS algorithms in ARM and misc assembly cleanup 2015-02-19 16:03:29 -08:00
Aaron Culliney
3149914741 Get some CPU tests passing on ARM/Android 2015-02-18 23:08:16 -08:00
Aaron Culliney
f4bc218bd8 WIP : Misc optims/changes of ARM-variant 65c02 CPU 2015-02-17 20:33:27 -08:00
Aaron Culliney
15dd90902c REFACTOR : more common code into macros 2015-02-16 10:28:57 -08:00
Aaron Culliney
5aa4c20249 REFACTOR : style+clarity changes 2015-02-16 09:42:13 -08:00
Aaron Culliney
d9ce113aa0 WIP : Android armeabi target compiles 2015-02-16 08:47:26 -08:00
Aaron Culliney
00cec0dcae WIP : 65c02 CPU in ARM assembly 2015-02-16 08:47:26 -08:00