added pokemon() function

This commit is contained in:
Irmen de Jong
2022-01-15 19:04:04 +01:00
parent 6fcb51cea2
commit 69f0c80cd7
3 changed files with 6 additions and 0 deletions

View File

@@ -896,6 +896,10 @@ poke(address, value)
pokew(address, value)
writes the word value at the given address in memory, in usual little-endian lsb/msb byte order.
pokemon(address, value)
Attempts to write a byte to a ROM at a location in machine language monitor bank.
Doesn't have anything to do with a certain video game.
push(value)
pushes a byte value on the CPU hardware stack. Lowlevel function that should normally not be used.