CPCWiki forum

General Category => Programming => Topic started by: SkulleateR on 10:27, 04 August 21

Title: cas_catalog testing
Post by: SkulleateR on 10:27, 04 August 21
Ok, got some spare time to spend on ASM, so I tried to read a catalog from disc ... so BEWARE OF NOOB QUESTIONS IN THE FUTURE  :laugh:


entry point is an adress in DE


so all I tried so far is :



org &2000
ld de,(&4000)
call &BC9B
ret



But this only prints the catalog to the screen, mem location &4000 is still empty (well I know about "vdu txt disable" but shouldn't it write the catalog to &4000 also ?) ...

Title: Re: cas_catalog testing
Post by: andycadley on 10:39, 04 August 21
Shouldn't that be LD DE,&4000 ?
Title: Re: cas_catalog testing
Post by: SkulleateR on 11:01, 04 August 21
Quote from: andycadley on 10:39, 04 August 21
Shouldn't that be LD DE,&4000 ?
:-\ ???


Thx, I was checking other systems/assemblers these days and I think I get mixed up in the typo ..... working now  :picard:
Title: Re: cas_catalog testing
Post by: andycadley on 11:14, 04 August 21
Probably the easiest mistake to make in Z80
Powered by SMFPacks Menu Editor Mod