Re: [cc65] Sprites

From: Groepaz <groepaz1gmx.net>
Date: 2013-03-21 16:26:30
On Thursday 21 March 2013, you wrote:
> Hi,
> 
> >> Is there an easy way to tell the stdio / conio routines that the screen
> >> has been relocated?
> 
> stdio uses KERNAL routines.
> 
> > that can be done by adjusting some pointers in zeropage if i recall
> > correctly.
> 
> conio uses:
> 
> SCREEN_PTR         := $D1        ; Pointer to current char in text screen
> CRAM_PTR           := $F3        ; Pointer to current char in color RAM

you can setup the high byte of the screen location somewhere (using some 
kernal routine perhaps).... then it will work with kernal (ffd2 etc) output 
fine. (and also conio, which uses the same pointers)

-- 

http://www.hitmen-console.org    http://magicdisk.untergrund.net
http://www.pokefinder.org        http://ftp.pokefinder.org

There is no such thing as a moral or an immoral book. Books are well written 
or badly written. 
<Oscar Wilde>

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Thu Mar 21 16:26:08 2013

This archive was generated by hypermail 2.1.8 : 2013-03-21 16:26:12 CET