Commit Graph
83 Commits
Author SHA1 Message Date
Anachronaut 04dfcd707b Memory controller implemented. 2026-08-15 20:43:53 -04:00
Anachronaut c4b2c27a2d Device table added to IO Port 0xFF. 2026-08-15 01:01:21 -04:00
Anachronaut 6d1966d500 Interrupt system implemented, some new programs. 2026-08-15 00:44:13 -04:00
Anachronaut 638b68b25c Long standing assembler bugs fixed, new path system. Make compatibility update. 2026-08-14 16:53:28 -04:00
Anachronaut c2440ae5fa Various bug fixes to assembler, added more data pointers. 2026-08-13 23:41:22 -04:00
Anachronaut b50210d127 Fixed use-after-free in Assembler
Use after free occurred in main() in the case that a program being assembled was longer than the initially allocated intermediate array.
2026-04-27 16:58:43 -04:00
Anachronaut e763a3e4de CPU Core Updates.
Overflowing/Underflowing A or B with increment or decrement instructions now sets the Carry Flag.
An increment or decrement of A or B that doesn't result in an overflow/underflow now clears the Carry Flag.
Q is no longer saved and restored in subroutine calls, allowing it to be used to return a one byte result.
Documentation updated with more detail.
2024-11-20 13:57:57 -05:00
Anachronaut d59a91aa38 Removed Duplicate instructions.
LDA and LDB are now Data Operations only. Minor reshuffling of instructions.
Fixed typo in the programming manual.
2024-11-18 13:10:02 -05:00
Anachronaut 2a691ba199 Fixed bugs. 8 bit prime Sieve demo. 2024-11-01 20:53:48 -04:00
Anachronaut c512f07305 Fixed input bugs.
Input from stdin now works as expected in the emulator.
New program to demo input from the command line.
2024-11-01 16:41:25 -04:00
Anachronaut f4c78e68ba DP offset instructions, new demo programs.
Added DPUP and DPDN, which take a one byte operand specifying how far up or down to offset the Data Pointer.
Three Fibonacci generators using the print.asm library.
 - 8 bit values printing in decimal representation.
- 16 bit values printing in hexadecimal representation.
- 32 bit values printing in hexadecimal representation.
2024-11-01 12:13:13 -04:00
Anachronaut 228cf0593a Added stuff. Fixed bug.
Data Pointer value now properly displayed in debug mode.
Added conditional calls to match conditional branches.
2024-10-31 13:30:15 -04:00
Anachronaut c64f097810 Added bit shift instructions.
SHL and SHR treat A and B as a 16 bit circular shift register and rotates them either left or right.
2024-10-30 16:06:33 -04:00
Anachronaut a58fb3d694 Added new instructions.
Added CCF - Clear Carry Flag
Added BRC - Branch on Carry Flag
Improved CALL and RET - All registers but status now saved and restored.
2024-10-29 21:04:03 -04:00
Anachronaut 992e44ca12 CALL and RET instructions.
Changed PSHP and POPP into CALL and RET, streamlining their use for subroutine calls.
Updated Assembler and Emulator.
New demonstration programs.
2024-10-27 19:18:54 -04:00
Anachronaut a17af6eff7 Update Assembler.c 2024-10-26 15:46:09 -04:00
Anachronaut 8485c0e50a Delete Source/utility.h 2024-10-26 15:34:22 -04:00
Anachronaut 7f557c4925 Delete Source/utility.c 2024-10-26 15:34:15 -04:00
Anachronaut fd80fe7345 Delete Source/io.h 2024-10-26 15:34:06 -04:00
Anachronaut 50d325ae29 Delete Source/io.c 2024-10-26 15:33:59 -04:00
Anachronaut 83d0522722 Delete Source/emulator.c 2024-10-26 15:33:51 -04:00
Anachronaut a032f43b8d Delete Source/cpu.h 2024-10-26 15:33:43 -04:00
Anachronaut 15d8672844 Delete Source/cpu.c 2024-10-26 15:33:34 -04:00
Anachronaut 6ecb100d6c Delete Source/bootstrap.h 2024-10-26 15:33:24 -04:00
Anachronaut fc9281d595 Delete Source/bootstrap.c 2024-10-26 15:33:13 -04:00
Anachronaut 0df6271f8b Delete Source/assembly.h 2024-10-26 15:32:11 -04:00
Anachronaut 671f283dd2 Delete Source/assembly.c 2024-10-26 15:31:59 -04:00
Anachronaut dfa5ad2638 Assembler Completed
Added the Assembler.
Added instructions for the assembler to README.md
Added Assembler Manual
Modified Makefile to build the Assembler.
2024-10-26 15:31:24 -04:00
Anachronaut ae5d475f45 Delete Source/hello.bin 2024-10-26 13:50:10 -04:00
Anachronaut 4deb56953d Improved debug display.
Bug fixes: POPD and POPP now pull bytes from the stack in proper order.
2024-10-18 18:01:23 -04:00
Anachronaut 60450253cd Assorted bug fixes. Added INIA and INIB instructions. 2024-10-18 16:23:03 -04:00
Anachronaut 158cbf443d Bug fixes
Added stack collision detection.
Added SETD instruction.
2024-10-17 18:40:54 -04:00
Anachronaut 2fd311f107 Uploaded Initial Repo Files 2024-10-16 23:12:59 -04:00