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 > How to split the screen horizontally ?
2008-06-01 11:53
turtle
Account closed

Registered: Mar 2005
Posts: 44
How to split the screen horizontally ?

........
No problem, to split the screen vertically, through the use of $ d012

..................

graphic

lda # $ 60
aa cmp $ d012
bne aa

text

........
 
... 30 posts hidden. Click here to view all posts....
 
2008-06-03 17:42
Mantiz
Account closed

Registered: Apr 2006
Posts: 36
If all you want is to have regular gfx on one side of the screen and text on the other, the easiest way would probably be to simply have a picture which uses only half the screen and then plot the text into the blank side of the bitmap. It would not be hardcore coder pr0n but it will work and it will take no timing at all for the display routine, as there will be no display routine to worry about at all.
All you need is to understand how the bitmap works and is setup in order to be able to put the text wherever you want it. You probably need to setup screen and color ram for the text area as well.

In order to to a regular horizontal text scroller on one part of the screen and you want to use $d016 for softscroll, you need pretty precise timing to set $d016 accordingly between the moving part of the screen (the text) and then change $d016 back when the rasterbeam hits the picture part, and then do the same over and over for every line your chars are displayed. Also you need a routine to plot the letters on the screen from the charset, as you are working in bitmap mode.
2008-06-03 18:44
turtle
Account closed

Registered: Mar 2005
Posts: 44
what about, filling sprites on the side of the image of text.

should be the easiest way =)
2008-06-03 18:49
turtle
Account closed

Registered: Mar 2005
Posts: 44
what about, filling sprites with text, on the beside the image .


should be the easiest way =)
2008-06-03 18:50
turtle
Account closed

Registered: Mar 2005
Posts: 44
arg
2008-06-03 20:26
HCL

Registered: Feb 2003
Posts: 717
Using sprites is surely one way to go, but i still don't really get what you want to do. You talk about splitting between graphics and text, and then you show us some demos with raster splits. That's something completely different, really <:).
2008-06-03 20:50
Danzig

Registered: Jun 2002
Posts: 429
what about converting the gfx to 3col, leaving the first $0200 bytes free for a regular 1x1-charset and then showing it on screen... switch on mc in $d016 and use $d800&0x07 you get singlecolor for the charset. using some fine rasterroutine behind that for the mc-colors ($d022/23) gives you a pretty colorful logo... wisely used ;)

or take a look at crest light... vision moved the logo up and down, plotted huge balls on the screen and had even an upscroller in 1x2 size.. killer back then.
2008-06-03 20:54
turtle
Account closed

Registered: Mar 2005
Posts: 44
yes it is true =)

thought it was the same thing splitting text and graphics.
if there was a way similar like use D012 to splitt from top to bottom


understand there are 2 different things

any idea, how to splitt raster like in the demo's
2008-06-03 21:03
Hein

Registered: Apr 2004
Posts: 933
lda #color1
sta $d021
lda #color2
sta $d021
lda #color3
sta $d021

and so on till you fall of the earth.
2008-06-03 21:19
Graham
Account closed

Registered: Dec 2002
Posts: 990
Quote: A vertical split on $d011..

I doubt you can change graphic-mode from text to bitmap , but you will explore some nice and strange effects


Ice Cream Castle (part CHOCOLATE ICE splits text from MC bitmap)

Coma Light 8 (part 03 splits text from FLI)
2008-06-04 18:05
turtle
Account closed

Registered: Mar 2005
Posts: 44
thank you all

how do I find this acme assembler. ? =)
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
Mibri/ATL^MSL^PRX
Scrap/Genesis Project
Krill/Plush
TheRyk/MYD!
Perplex/Offence
Nith/TRIÉ…D
ilesj/Artline Designs
mutetus/Ald ^ Ons
Slaxx/Q/HF/MYD!
rexbeng
Sentinel/Excess/TREX
Drees
Guests online: 135
Top Demos
1 Next Level  (9.8)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.7)
5 Edge of Disgrace  (9.6)
6 Comaland 100%  (9.6)
7 Uncensored  (9.6)
8 No Bounds  (9.6)
9 Wonderland XIV  (9.6)
10 Bromance  (9.5)
Top onefile Demos
1 Layers  (9.7)
2 Party Elk 2  (9.7)
3 It's More Fun to Com..  (9.6)
4 Cubic Dream  (9.6)
5 Copper Booze  (9.5)
6 TRSAC, Gabber & Pebe..  (9.5)
7 Rainbow Connection  (9.5)
8 Dawnfall V1.1  (9.5)
9 Quadrants  (9.5)
10 Daah, Those Acid Pil..  (9.5)
Top Groups
1 Oxyron  (9.3)
2 Nostalgia  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Musicians
1 Rob Hubbard  (9.7)
2 Stinsen  (9.7)
3 Jeroen Tel  (9.6)
4 Linus  (9.6)
5 MacMagix  (9.6)

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