sd-8516_programmer_s_reference_guide
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| sd-8516_programmer_s_reference_guide [2026/01/29 18:46] – appledog | sd-8516_programmer_s_reference_guide [2026/01/30 02:03] (current) – appledog | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| == Introduction | == Introduction | ||
| The **Stellar Dynamics SD-8516** represents a categoretroical reimagining of microprocessor architecture. This 16-bit CPU, implemented in AssemblyScript for the VC-3 computer system, delivers performance exceeding conventional silicon constraints through advanced cross-boundary resonance microcascades. | The **Stellar Dynamics SD-8516** represents a categoretroical reimagining of microprocessor architecture. This 16-bit CPU, implemented in AssemblyScript for the VC-3 computer system, delivers performance exceeding conventional silicon constraints through advanced cross-boundary resonance microcascades. | ||
| + | |||
| + | The SD-8516 is intended to be an easy to learn architecture which remains era-authentic. | ||
| + | |||
| + | ^ CPU ^ Opcodes ^ Assembler ^ Notes ^ | ||
| + | | | ||
| + | | SD-8516 | 56 opcodes | 105 opcodes | | | ||
| + | | 6809 | 59 opcodes | 154+ | "the most elegant 8 bit CPU ever designed" | ||
| + | | 8086 | 117 opcodes | 117 | standard of the era | | ||
| + | | 6502 | 151 opcodes | 151 | standard of the era | | ||
| + | | Z80 | 158 opcodes | hundreds | prefix machine--158 base opcodes | | ||
| + | | 8080 | 244 opcodes | | | | ||
| + | |||
| === Key Specifications | === Key Specifications | ||
| Line 17: | Line 29: | ||
| * Sound system overhead: < 5% CPU time | * Sound system overhead: < 5% CPU time | ||
| * Video refresh: 60 Hz (16.67ms frame time) | * Video refresh: 60 Hz (16.67ms frame time) | ||
| - | |||
| - | === Optimization Notes: | ||
| - | * Batch instruction execution (787,401 instructions per batch at 100 MIPS target) | ||
| - | * MessageChannel-based scheduling for low-latency loops | ||
| - | * Time-debt throttling maintains consistent clock rate | ||
| - | * Sound updates triggered by register writes (not polling) | ||
| == Technical Implementation | == Technical Implementation | ||
| Line 31: | Line 37: | ||
| * **Video Backend:** 9 mode Text and Graphics pixel-perfect render engine | * **Video Backend:** 9 mode Text and Graphics pixel-perfect render engine | ||
| + | == Lore | ||
| + | Since the days of the first minicomputers, | ||
| + | |||
| + | While our earliest designs struggled with resonance cascade instability, | ||
| + | |||
| + | These advancements position the Stellar Dynamics SD-8516 as the definitive architecture for next-generation computation: | ||
| < | < | ||
| Line 52: | Line 64: | ||
| Think of your SD-8516 PROGRAMMER' | Think of your SD-8516 PROGRAMMER' | ||
| - | == System Lore | ||
| - | Since the days of the first minicomputers, | ||
| - | |||
| - | While our earliest designs struggled with resonance cascade instability, | ||
| - | |||
| - | These advancements position the Stellar Dynamics SD-8516 as the definitive architecture for next-generation computation: | ||
| == CPU Architecture | == CPU Architecture | ||
| Line 82: | Line 88: | ||
| | R15 | Z | General Purpose | | | R15 | Z | General Purpose | | ||
| - | **Note:** The SD-8516 does not use register pairing except | + | == Register Encoding |
| + | === Byte Access | ||
| + | Each register' | ||
| + | |||
| + | === 32-bit Pairs | ||
| + | Adjacent registers can be combined | ||
| + | - AB = A (high) + B (low) | ||
| + | - CD = C (high) + D (low) | ||
| + | - EF, GI, JK, LM, TY, XZ | ||
| + | |||
| + | This is simulated 32 bit access; changing | ||
| + | |||
| + | === 24-bit Pointers | ||
| + | Memory addressing uses a bank byte plus 16-bit offset. The naming convention is `[low-byte][offset]`: | ||
| + | - BLX = BL (bank) + X (address) | ||
| + | - ELM = EL (bank) + M (address) | ||
| + | - FLD = FL (bank) + D (address) | ||
| + | - GLK = GL (bank) + K (address) | ||
| - | === Register Encoding | + | Eight bank registers |
| - | Registers are encoded as 4-bit values | + | |
| - | * Low nibble: First operand | + | |
| - | * High nibble: Second operand | + | |
| - | Example: {{{ADD A, B}}} encodes as {{{0x01}}} (A=0, B=1) | + | === Register Overlap |
| + | As with their 32-bit counterparts, | ||
| === Flags Register | === Flags Register | ||
| Line 330: | Line 351: | ||
| | SEV | Set overflow flag | | | SEV | Set overflow flag | | ||
| | CLV | Clear overflow flag | | | CLV | Clear overflow flag | | ||
| + | |||
| + | === Other | ||
| + | |||
| + | |= Instruction |= Description | | ||
| + | | TSX | Transfer SP to register* | | ||
| + | | TXS | Transfer register to SP* | | ||
| + | |||
| + | * (*) these opcodes were suggested by stackminer from the Fantasy Console 2.0 discord. Thank you, stackminer! | ||
| === System Operations | === System Operations | ||
| Line 474: | Line 503: | ||
| --- | --- | ||
| - | **SD-8516 Technical Manual** - Revision 1.0 | + | **SD-8516 Technical Manual** - Revision 1.0\\ |
| - | **Copyright © 2025 Appledog Hu** | + | **Copyright © 2025 Appledog Hu**\\ |
| **All specifications subject to change as quantum resonance research continues.** | **All specifications subject to change as quantum resonance research continues.** | ||
sd-8516_programmer_s_reference_guide.1769712403.txt.gz · Last modified: by appledog
