Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


Forums > C64 Coding > bitmap display/extraction
2006-08-11 02:42
Trifox
Account closed

Registered: Mar 2006
Posts: 108
bitmap display/extraction

hi all, i have a severe problem, i have some pictures, they are mulcticolor only, so it should be easy to extract the image data from it, can anyone point me to a description of those .prg multicolor images?

btw. i have a font/charset ( 2x2) in png format, what is the easiest/fastest way to get a c64 charset from it? i would not like to write a converter for this .,..

can there be a program wich outputs the bytes (valued 0..3 so, to bits a pixel) only????

time is runing out...
 
... 22 posts hidden. Click here to view all posts....
 
2006-08-11 15:08
Trifox
Account closed

Registered: Mar 2006
Posts: 108
hi, i stepped over this tool
PicChar v0.1
has anyone used it before ? how is the input format of this tool, there is no comment about accepted input formats, it seems that it rads just any type of file, but i am not sure in which format i have to use so that i can get what i want ... ;(
2006-08-11 15:12
MRT
Account closed

Registered: Sep 2005
Posts: 149
POST FROM PRIVATE MESSAGE

>> Well..?
>> Did that solve your problem?
>>
>
> i am coming closer to what i want to achieve, the $d018 register reads value $19 so, what parts do i need to extract?
>
> $d018 has value $19
>
> so, screen mem is $0400 - $07f8 what data is stored there ? only color data ? that would explain why all have the same value ....
>
> but i am used to $18 value in register $d018 ...

He he... If you're busy with the chars, just see forum posts... It'll guide you...

Let me explain $d018:
bit 0: uppercase/lowercase charset
bit 1-3: charset/bitmap address
bit 4-7: charscreen address

The real possition in mem depends on the first two bits (0-1) of $dd00. This register is for the VIC bank...
possible VIC banks are:
$0000
$4000
$8000
$c000

Witin one of these VIC banks you'll find a charset/bitmap address:
bit 1-3:
000: VICBank + $0000
001: VICBank + $0800
010: VICBank + $1000
011: VICBank + $1800
100: VICBank + $2000
101: VICBank + $2800
110: VICBank + $3000
111: VICBank + $3800

Note: When used in a normal manner, bitmaps only use 000 ($0000) or 100 ($2000) to show bitmap data

Within the same manner you can use the bits 4-7 for calculating the charscreen address.
2006-08-11 15:17
MRT
Account closed

Registered: Sep 2005
Posts: 149
Quote: hi, i stepped over this tool
PicChar v0.1
has anyone used it before ? how is the input format of this tool, there is no comment about accepted input formats, it seems that it rads just any type of file, but i am not sure in which format i have to use so that i can get what i want ... ;(


NO, It's from Scout... Don't use it, or it'll blow up your computer... ;-)
:-D

No realy, Use that tool! It's sure easier than moving all char-parts by hand... If the tool can do 4x4 chars?
2006-08-11 15:22
Scout

Registered: Dec 2002
Posts: 1568
Quote: NO, It's from Scout... Don't use it, or it'll blow up your computer... ;-)
:-D

No realy, Use that tool! It's sure easier than moving all char-parts by hand... If the tool can do 4x4 chars?


*BOOM!*

The program converts any hires screen into a charset.
Even more than 1 pic can be used.
Yay!
I also have an unreleased version of PicChar which makes it possible to create an inverse charset if needed (eor #$ff :).
Double yay!

Also, for the people who struggle with the d018/dd00 settings I recommend D018 Manager

---
8Bit Mayhem - The Commodore 64 Scenemusic Podcast
http://8bitmayhem.blogspot.com/
2006-08-11 16:30
enthusi

Registered: May 2004
Posts: 675
I recommend against it :)
Its not THAT hard and starting with tools you will always think of $d018 as an evil dark corner...
2006-08-11 16:52
Trifox
Account closed

Registered: Mar 2006
Posts: 108
anyhow i do it i just get crapp ... uaaaaaaaaaargh, but now i have some time ( 24 hours left till deadline ) to convert this picture into a charset ....
2006-08-11 17:01
Trifox
Account closed

Registered: Mar 2006
Posts: 108
http://www.fractalmovies.com/c64/screenshot.gif

this is what it looks like when i load the char data ... why the hell are some of the characters inverted, while some arent ?!?!?!?
2006-08-11 17:09
Tch
Account closed

Registered: Sep 2004
Posts: 512
Quote: anyhow i do it i just get crapp ... uaaaaaaaaaargh, but now i have some time ( 24 hours left till deadline ) to convert this picture into a charset ....

Yoh Trifox,why not rip another 2x2 somewhere.
Will save you lots of time and then figure it out without a deadline.
C64+Deadline is BAD!! ;)
2006-08-11 17:15
Scout

Registered: Dec 2002
Posts: 1568
Quote: http://www.fractalmovies.com/c64/screenshot.gif

this is what it looks like when i load the char data ... why the hell are some of the characters inverted, while some arent ?!?!?!?


Seems your original pic is fucked up.
---
8Bit Mayhem - The Commodore 64 Scenemusic Podcast
http://8bitmayhem.blogspot.com/
2006-08-11 17:54
Trifox
Account closed

Registered: Mar 2006
Posts: 108
so, what makes a picture fuck up ? congo ?
Previous - 1 | 2 | 3 | 4 - Next
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
Raf/Vulture Design
Yogibear/Protovision
Jammer
Sentinel/Excess/TREX
Impetigo/Crescent
csabanw
TheRyk/MYD!
Nordischsound/Hokuto..
MWR/Visdom
Guests online: 56
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.7)
5 Edge of Disgrace  (9.6)
6 Uncensored  (9.6)
7 Comaland 100%  (9.6)
8 No Bounds  (9.6)
9 Aliens in Wonderland  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 Layers  (9.6)
2 Cubic Dream  (9.6)
3 Party Elk 2  (9.6)
4 Copper Booze  (9.6)
5 Rainbow Connection  (9.5)
6 It's More Fun to Com..  (9.5)
7 Dawnfall V1.1  (9.5)
8 Birth of a Flower  (9.5)
9 Morph  (9.5)
10 Quadrants  (9.5)
Top Groups
1 Nostalgia  (9.4)
2 Oxyron  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 Offence  (9.3)
Top NTSC-Fixers
1 Pudwerx  (10)
2 Booze  (9.7)
3 Stormbringer  (9.7)
4 Fungus  (9.6)
5 Grim Reaper  (9.3)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.042 sec.