COMMODORE PLUS/4 WORLD
  Home  Search  Games  Tapes  Covers  Cheats  Maps  Software  New Stuff 
 Hall Of Fame  Game Endings  Features  Solutions  Remakes  Publications  Magazines  Effects  Top List 
 Members  Groups  Plus/4 Encyclopedia  Hardware  Tools  Options  Forum 
Login
Back to forumReply To This TopicGo to last replyFirstBackNextLast

Posted By
carrion
on 2011-12-30
08:48:00
 how to enable char mode gfx

Hi all
I play with C+4 assembly language more and more but can't figure out how to turn on the gfx made with charactersets...
lets assume I have a character set (converted from graphics) at $2000 and want to use it to build for example a logo or a game screen.
I use $ff06 and $ff07 but it doesn't work for me.
I know on C64 i used $d016 and $d018 and it was fine.
is there anything like mem banks like VIC on c64 has? what i do wrong?

TIA

Posted By
gerliczer
on 2011-12-30
09:10:25
 Re: how to enable char mode gfx

Hi carrion,

You have to set the char generator address in reg $ff13 bits 2-7 and clear bit 2 in reg $ff12. If you want your charset at $2000 try something like this: lda$ff13; and#3; ora#$20; sta$ff13; lda$ff12; and#$fb; sta$ff12 (I hope this is not f*cked up). I suggest you to get SVS' excellent xls about plus/4 memory mapping and other things. It's very handy.

Posted By
MMS
on 2011-12-30
14:49:39
 Re: how to enable char mode gfx

Hi,
your best friend will be the Plus/4 Programming Reference Guide book.

At the link below you may find it, and on page 200 onwards it explains very well the things. Though it uses POKEs, it is pure assembly as you know

Good luck withthe book, you need some time to read thought the >450 pages
You may also find a link to able to download it, right now it was the best link I could find. Certainly I also use the downloded PDF version, 37MB

http://www.scribd.com/doc/55370057/Plus-4-Programmers-Reference-Guide

Posted By
carrion
on 2011-12-30
14:51:57
 Re: how to enable char mode gfx

wow
this XLS is fantastic. so helpful. thanks a lot for this tip!
also MMS thanks for your tip. I've found and used so far a document (excerpt?) from hacking magazine. I guess it was called: "Talking to TED" or something. usefull but not verry detailed



Back to topReply To This Topic


Copyright © Plus/4 World Team, 2001-2013