Anachronaut and Claude Opus 5
ca34e077ad
Add sbex.h, which was never committed
...
The loadable program format's header has been in the working tree since
the loader was written and has never been in the repository: the gitignore
rules matched Source/Assembler as a directory, so it was silently
untracked. Anything cloning this repository could not build it, because
secondPass.c includes this file.
This is the failure the previous commit describes, having already happened
once without being noticed.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com >
2026-08-19 18:17:28 -04:00
Anachronaut
e3100b4718
Fixed assembler bug that caused crash on IR array resize. Added line editor app.
2026-08-17 23:26:21 -04:00
Anachronaut
1d1a14318c
Programs can now list and share vectors.
2026-08-17 21:39:27 -04:00
Anachronaut
a842c884e8
Added assembler check for string outside Data Segment.
2026-08-17 20:10:33 -04:00
Anachronaut
9e3425d34b
Programs can now pin specific routines to specific vectors in SplitBit assembly. Added snake game.
2026-08-17 19:12:42 -04:00
Anachronaut
08624925fe
Interrupt on keypress mode
2026-08-17 16:02:44 -04:00
Anachronaut
91c9d49d1b
CosmOS pre-alpha and launchable application versions of old programs.
2026-08-17 15:31:49 -04:00
Anachronaut
eff6902bcf
Block device peripheral and SBFS file system implemented.
2026-08-16 14:03:29 -04:00
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