901
Off Topic / Re: what the forget happened to n00b/randomtroll/hulkhogan
« on: November 20, 2017, 02:21:59 PM »
probably people in queeb being annoying or me jumping out of discords randomly like a dumbass
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
johnny test was a good showSTOP
You want to interpret those addresses as little endian. The $4AXX addresses are some functions in ROM you'd have to post the code for, $C00F (used as temporary storage) and $D75B are in RAM, and $0003 looks like screen coordinates for whichever one is the printing function.o yea i forgot that little endian exists
##preface
##$ means hex
##(nn) means the location that the memory is loaded at is used
## ^# means what ithink it does
## using little endian here
CALL $824A ^# clears screen
LD HL, $0300 ^# puts a number in "secondary" acc. for storage so it can...
LD ($0FC0), HL ^# load the number into the VRAM "pointer" that "points" to which part of the screen to print to: also it isnt F00C its 0FC0 because little endian
LD HL, $5BD7 ^# dunno what the rest of this means yet
CALL $374A
CALL $5F4A
RET
Hello World ##null character at the end of the "World" to signify end of program i guess?
$4A** NUMBERS ARE ROMCALLS
$0FC0 IS THE THIN THAT VRAM CALLS TO KNOW WHERE TO PRINT stuff
CALL $824A ^# edit5: clears screen actually i think
LD HL, $0300 ^# it puts $0300 in HL so it can load into...
LD ($0FC0), HL ^# this, i belive that ($0FC0) is the ""variable"" for VRAM to know which column and row to print a string or a thing
EDIT 3:: x
: [sub]4[/sub]
:
EDIT 4:CALL $824Aand it ran the original code (it clears screen and prrints hello world in center)r u gay. srsly though if i didn't know you were a dude i'd think you were a woman.mr man is actually trans