News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu

cpc6128: move ascii characters from rom to ram?

Started by funkheld, 09:29, 15 November 20

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

funkheld


Hi good afternoon.
can you please move the ascii rom into ram and then change it without a symbol / symbol after?


Thank you.
greeting

AMSDOS

Quote from: funkheld on 09:29, 15 November 20
Hi good afternoon.
can you please move the ascii rom into ram and then change it without a symbol / symbol after?


Thank you.
greeting


In Assembly, the Firmware/BIOS has a section called the Text Functions, in there is an instruction called TXT SET M TABLE, this is the instruction you want to Move ASCII from ROM into RAM. It can be setup like this:



org &7000 ;; CALL &7000 from BASIC to execute this routine.


ld de,0 ;; first character, since this is zero all 256 characters will be placed into RAM
ld hl,chrset ;; the location of the character set in RAM
call &bbab ;; TXT SET M TABLE
ret ;; return to BASIC if
.chrset defb 0 ;; just make sure there's no other machine code routines since 8x256 is used.
* Using the old Amstrad Languages :D * And create my own ;)
* Incorporating the Firmware :P
* I also like to problem solve code in BASIC :)   * And type-in Type-Ins! :D

Home Computing Weekly Programs
Popular Computing Weekly Programs
Your Computer Programs
Updated Other Program Links on Profile Page (Update April 16/15 phew!)
Programs for Turbo Pascal 3

funkheld


Powered by SMFPacks Menu Editor Mod