apple1/Emulator_Pom1/software/Print with hex (Sim6502).txt
Sergei Panarin a058720e39 POM1 cross-platform emulator by Verhille Arnaud to test SmartyKit 1 ROM with software
***************************************
Pom1	Version 0.61 (21 juin 2001)
***************************************
Written by VERHILLE Arnaud
E.mail : gist@wanadoo.fr
http://www.chez.com/apple1/
2021-01-21 00:09:26 +03:00

27 lines
1015 B
Plaintext

// This is a modified version of the original code of the
// "Getting The System Running"-Section written by Steve
// Wozniak in 1976.
0000: A9 00 // LDA #0
0002: AA // TAX
0003: 20 DC FF // Print Byte as Hex
0006: A9 3D // LDA "="
0008: 20 EF FF // JSR $FFEF -> 'Echo' the accu
000B: 8A // TXA
000C: 20 EF FF // JSR $FFEF -> 'Echo' the accu
000F: A9 20 // LDA " "
0011: 20 EF FF // JSR $FFEF -> 'Echo' the accu
0014: E8 // INX
0015: 8A // TXA
0016: 4C 03 00 // JMP $0002 -> Next Character
// Load this program by choosing the "Load Memory..."-item of the "File"-menu.
// If there is an error while loading the error message will be displayed in
// the Apple-1 monitor. Start the Program with "0 R" (which means "Go to $0000 and Run!")
// It should print out all the characters with its byte number in the monitor.
// You can only stop the program by reseting the cpu with command-period.
// Apple for ever! Achim Breidenbach 1997
// e-mail: achim@boinx.com
// http://www.boinx.com