Off Topic > Off Topic

big nerd trying to learn assembly

Pages: << < (4/4)

SubDaWoofer:

bUMP
so i figured out that the

--- Code: ---CALL $374A
CALL $5F4A
RET
Hello World ##null character at the end of the "World" to signify end of program i guess?

--- End code ---
part is just to actually print to the screen, everything previous is to clear the screen and prime

--- Code: ---LD HL, $0300
LD ($0FC0), HL

--- End code ---
for knowing where to print it onto the screen
will post more updates that nobodys annoying me now
edit 1:
gonna post the hexcode too because it helps

--- Code: ---:CD824A
:210300
:220FC0
:215BD7
:CD374A
:CD5F4A
:C9
:48656C6C6F20576F726C6400

--- End code ---


SubDaWoofer:

Bump. !!!
i fully transcribed the ROMCALLS from someone elses website beacuse i was too lazy to figure it out myself and its rrrrrreally annoing
so here you go

--- Code: ---$4A7E     _clrLCD     clears screen
$4A82     _clrScrn    clears screen prints ' '
$5730     _Exec_Assembly   Exec asm. name in OP1 in v.
$49DC     _FlushAllMenus   Clear all menus
$55AA     _getKey     returns last pressed key into A
$4A95     _homeup     returns big cursor to top left
$427B     _move10b    moves 10 bytes hl -> de
$4A5F     _NewLine    Exec a carriage return in curs.
$4D6F     _PDspGrph   Displays Graph with Cur. Setting
$4A2B     _putC       Puts A ascii value onto screen
$4A27     _putmap     same as ^ but doesnt advance
$4A3B     _putps      length indexed string by HL
$4A37     _puts       prints string by HL, term by 0
$4AA1     _vputmap    prints A ascii in menu text
$4AA5     _vputs      puts 0 term string HL in menu
$4AB1     _runIndicOff turns off busy indicator
$4AAD     _runIndicOn  turns on busy indicator
$4C9F     _StoAns     Store OP1 into Ans var
--- End code ---


Pages: << < (4/4)

Go to full version