Alamorobotics wrote:
I was thinking something very rudimentary like a W command or similar.
Code:
W65C816SXB-Hacker [15.11]
.?
B bb - Set memory bank
E - Erase ROM area
G [xxxx] - Run from bb:xxxx or invoke reset vector
M ssss eeee - Display memory in current bank
R 0-3 - Select ROM bank 0-3
X xxxx - XMODEM upload to bb:xxxx
.W 1000 00 01 02 03
Would write 00, 01, 02, 03 starting at $1000
Right now I don't have a practical application, but it would be a nice feature if there is an easy way of doing it...
Starting with Jim Butterfield's Supermon, Commodore M/L monitors have had the
> function to "poke" data into RAM (I don't recall if the original PET monitor had that capability). For example:
Code:
> 2000 01 02 03 04
would write the consecutive values
$01 $02 $03 $04 into RAM, stating at
$2000. The byte values can be in any of the four supported number bases.
In Supermon 816, I extended that function to allow the entry of a character string, as well as numeric values:
Code:
> 002000 'This is a test!
would write
This is a test! into RAM starting at
$002000. The maximum number of bytes that may be entered is 32, whether as numeric values or as a character string.
I use this capability all the time with my POC unit to test code with different data.