A86: very strange


[Prev][Next][Index][Thread]

A86: very strange



hey i was experimenting with some code i found.... check this out. just compile the below code and then run a program that alters some code in the program. (note sometimes it takes a few tries to run a program the first time after you execute this one) then change some of the values inside the program (like a hiscore) then exit the program and come back. the values are changed back to the original value! this might come in handy if you have some guy that always beats your hiscore and thinks he got you ;)
 
#include "asm86.h"
#include "ti86asm.inc"
 
.org _asm_exec_ram
 push hl
 ld l,0
 ld a,0
 ld h,0
 call $02CB
 pop hl
 
.end

Follow-Ups: