This page (revision-4) was last changed on 03-Feb-2023 15:21 by Carsten Strotmann 

This page was created on 14-Mar-2010 13:52 by Carsten Strotmann

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Page revision history

Version Date Modified Size Author Changes ... Change note
4 03-Feb-2023 15:21 50 KB Carsten Strotmann to previous
3 14-Mar-2010 13:58 50 KB Carsten Strotmann to previous | to last
2 14-Mar-2010 13:57 50 KB Carsten Strotmann to previous | to last
1 14-Mar-2010 13:52 50 KB Carsten Strotmann to last

Page References

Incoming links Outgoing links

Version management

Difference between version and

At line 5 changed 3 lines
* [original Apple 2 ROM Source|Sweet16Apple2]
* [Atari 8bit port for BiboAssembler|Sweet16Bibo]
* [Atari 8bit port for Mac65|Sweet16Mac65]
* ~[original Apple 2 ROM Source|Sweet16Apple2]
* ~[Atari 8bit port for BiboAssembler|Sweet16Bibo]
* ~[Atari 8bit port for Mac65|Sweet16Mac65]
At line 66 changed one line
Implemented in only 300 bytes of code, SWEET16 has a very simple instruction set tailored to operations such as memory moves and stack manipulation. Most opcodes are only one byte long, but since she runs approximately ten times slower than equivalent 6502 code, SWEET16 should be employed only when code is at a premium or execution is not. As an example of her usefulness, I have estimated that about 1K byte could be weeded out of my 5K byte Apple-II BASIC interpreter with no observable performance degradation by selectively applying SWEET16. []
Implemented in only 300 bytes of code, SWEET16 has a very simple instruction set tailored to operations such as memory moves and stack manipulation. Most opcodes are only one byte long, but since she runs approximately ten times slower than equivalent 6502 code, SWEET16 should be employed only when code is at a premium or execution is not. As an example of her usefulness, I have estimated that about 1K byte could be weeded out of my 5K byte Apple-II BASIC interpreter with no observable performance degradation by selectively applying SWEET16. ~[]
At line 114 changed one line
Sweet 16 is probably the least used and least understood seed in the Apple \]\[.
Sweet 16 is probably the least used and least understood seed in the Apple ]~~[.
At line 120 changed one line
SWEET 16 is ROM based in every Apple \]\[ from $F689 to $F7FC. It has it's own set of opcodes and instruction sets, and uses the SAVE and RESTORE routines from the Apple Monitor to preserve the 6502 registers when in use, allowing SWEET 16 to be used as a subroutine.
SWEET 16 is ROM based in every Apple ]~~[ from $F689 to $F7FC. It has it's own set of opcodes and instruction sets, and uses the SAVE and RESTORE routines from the Apple Monitor to preserve the 6502 registers when in use, allowing SWEET 16 to be used as a subroutine.
At line 230 changed one line
SWEET 16 as a language - or tool - opens a new direction to Apple \]\[ owners without spending a dime, and it's been there all the time.
SWEET 16 as a language - or tool - opens a new direction to Apple ]~[ owners without spending a dime, and it's been there all the time.
At line 238 changed one line
10 PRINT "[D]BLOAD SWEET": REM CTRL D
10 PRINT "~[D]BLOAD SWEET": REM CTRL D
At line 373 changed one line
SET Rn,Constant \[ 1n Low High \]
SET Rn,Constant ~[ 1n Low High ]
At line 385 changed one line
LD Rn \[ 2n \]
LD Rn ~[ 2n ]
At line 399 changed one line
ST Rn \[ 3n \]
ST Rn ~[ 3n ]
At line 413 changed one line
LD @Rn \[ 4n \]
LD @Rn ~[ 4n ]
At line 431 changed one line
ST @Rn \[ 5n \]
ST @Rn ~[ 5n ]
At line 448 changed one line
LDD @Rn \[ 6n \]
LDD @Rn ~[ 6n ]
At line 466 changed one line
STD @Rn \[ 7n \]
STD @Rn ~[ 7n ]
At line 486 changed one line
POP @Rn \[ 8n \]
POP @Rn ~[ 8n]
At line 513 changed one line
STP @Rn \[ 9n \]
STP @Rn ~[ 9n ]
At line 535 changed one line
ADD Rn \[ An \]
ADD Rn ~[ An ]
At line 553 changed one line
SUB Rn \[ Bn \]
SUB Rn ~[ Bn ]
At line 578 changed one line
POPD @Rn \[ Cn \]
POPD @Rn ~[ Cn ]
At line 602 changed one line
CPR Rn \[ Dn \]
CPR Rn ~[ Dn ]
At line 626 changed one line
INR Rn \[ En \]
INR Rn ~[ En ]
At line 643 changed one line
DCR Rn \[ Fn \]
DCR Rn ~[ Fn ]
At line 674 changed one line
BR ea \[ 01 d \]
BR ea ~[ 01 d ]
At line 685 changed one line
the APPLE \\]\\[ monitor may be used to calculate displacements.
the APPLE \\]\\~[ monitor may be used to calculate displacements.
At line 705 changed one line
BNC ea \[ 02 d \]
BNC ea ~[ 02 d ]
At line 714 changed one line
BC ea \[ 03 d \]
BC ea ~[ 03 d ]
At line 722 changed one line
BP ea \[ 04 d \]
BP ea ~[ 04 d ]
At line 742 changed one line
BM ea \[ 05 d \]
BM ea ~[ 05 d ]
At line 750 changed one line
BZ ea \[ 06 d \]
BZ ea ~[ 06 d ]
At line 758 changed one line
BNZ ea \[ 07 d \]
BNZ ea ~[ 07 d ]
At line 766 changed one line
BM1 ea \[ 08 d \]
BM1 ea ~[ 08 d ]
At line 774 changed one line
BNM1 ea \[ 09 d \]
BNM1 ea ~[ 09 d ]
At line 782 changed one line
BK \[ 0A \]
BK ~[ 0A ]
At line 791 changed one line
RS \[ 0B \]
RS ~[ 0B ]
At line 801 changed one line
BS ea \[ 0c d \]
BS ea ~[ 0c d ]