| |
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.... |
| |
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.
|
| |
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 =) |
| |
turtle Account closed
Registered: Mar 2005 Posts: 44 |
what about, filling sprites with text, on the beside the image .
should be the easiest way =) |
| |
turtle Account closed
Registered: Mar 2005 Posts: 44 |
arg |
| |
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 <:). |
| |
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. |
| |
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 |
| |
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. |
| |
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)
|
| |
turtle Account closed
Registered: Mar 2005 Posts: 44 |
thank you all
how do I find this acme assembler. ? =) |
Previous - 1 | 2 | 3 | 4 - Next |