Commodore 64 (C64) Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
help: assembler routine to load a pict

 
Post new topic   Reply to topic    Commodore 64 (C64) Forum Index -> Help & Support
View previous topic :: View next topic  
Author Message
tony.rc
Forum Junkie
Forum Junkie


Joined: 04 Jan 2002
Posts: 518
Location: SA, Australia

PostPosted: Mon Mar 25, 2002 1:38 pm    Post subject: help: assembler routine to load a pict Reply with quote

Ok I've got Amica Paint and Koala Painter,
I want to be able to load a picture what format do I save it in for Basic to understand?

And could someone tell me the assember routine to load this picture so it can be displayed
Back to top
View user's profile Send private message
exitof99
Groupie
Groupie


Joined: 24 Feb 2002
Posts: 168
Location: Upstate, NY

PostPosted: Thu Mar 28, 2002 5:56 pm    Post subject: Reply with quote

Well, I can tell you this:

To change the graphic pointer (?) - POKE 53272,x

To change the screen to multicolor - POKE 53265,x

The C64 has 4 pages that can display a screen using this location - POKE 56576, x
where 'x' is 0, 1,2 or 3.

I know for Doodle! pictures I use these:
POKE 53272,120:POKE53265,59:POKE56576,2

You can make a search by typing:
10 POKE53265,59: POKE56576,2: FOR T=0 TO 255: POKE53272,T: FOR R=1 TO 100:NEXT: NEXT
This will cycle through all the possible screen settings. If nothing comes up, try changing the 56576 location.

Exit!
_________________
Some day I will finish it:
Gauntlet for the Vic-20 (unexpanded)
http://c64.exitof99.com
Amiga freaks, play 99¢ Kombat:
http://99centspecial.com/99downs.htm
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
XTRO
Groupie in Training
Groupie in Training


Joined: 11 Feb 2002
Posts: 124
Location: SWEDEN (Sandviken)

PostPosted: Thu Mar 28, 2002 6:17 pm    Post subject: Reply with quote

This is the adre$$es for some known paint programs... where they store the data.

Code:
         Bitmap      Color($D800) Screen($0400) BG Color

Koala    $6000-7F3F  $8328-870F   $7F40-8327    $8710

Artist64 $4000-5F3F  $6400-67E7   $6000-63E7    $67FF

Adv.Art  $2000-3F3F  $3F40-4327   $4338-471F    $4329
Studio

Blazing  $A000-BF3F  $C400-C7E7   $C000-C3E7    $BF80
Paddles

Image    $4000-5F3F  $3C00-3FE7   $6000-63E7    $5FFF
System


Found this in some of my old notes..... Very Happy
The Color and Screen adresses can be mixed up...my note was kinda blury... well.. hope it helped you some anyway....

With that info there should be no problem to code a viewer.....
_________________
/XTRO of Whoop!
()xxxxxx][>>>>>>>>>>>>>
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Commodore 64 (C64) Forum Index -> Help & Support All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Tip: Get C64 Forever for super-comfy C64 emulation with pre-installed games, demos and other goodies!


Powered by phpBB © 2001, 2005 phpBB Group