Weiß Jemand von euch, wie der Address Bus funktioniert? Ich schaffe es einfach nicht in addresse
65536 ein Zeichen reinzukriegen.
Wenn ich so drauf zugreife geht es (eigentlich):
Code:
DATA;
//Write Function!
int_write: //ESI - String pointer, EDX - Param
_writeloop:
cmp #esi,0; //Terminate on char 0
je int_stop;
mov #eax,#esi; //Output char
inc eax;
mov #eax,edx; //Output char param
inc eax;
inc esi;
jmp _writeloop;
int_stop:
mov eax,0
mov #eax,0
mov edx,0
ret;
int_resetconsole:
mov eax,67577
mov #eax,1
jmp int_stop;
CODE;
screentest:
mov eax,65536
mov edx,999000
call int_boot
//Reset
call int_resetconsole
(Btw das Forum braucht WireCPU, WireGPU und Wire Expressions 1/2 Syntax Highlighting.)
Aber wenn ich nen Address Bus zwischen schalte, egal wie eingestellt:
No Work.