| |
Trifox Account closed
Registered: Mar 2006 Posts: 108 |
is there a putpixel example ?
Hi, i wonder if there is a easy to read example wich plots exactly one pixel in a particular gfx mode? on to a given coordinate? |
|
... 7 posts hidden. Click here to view all posts.... |
| |
Oswald
Registered: Apr 2002 Posts: 5094 |
cruzer, how true. the learning curve always goes from slow routines -> fast routines. Without understanding the slow way, you have not much chance to understand the fast way. |
| |
Radiant
Registered: Sep 2004 Posts: 639 |
Yeah, you won't exactly break any world records by ORA single pixel plotting, but it's a nice way to start. All my plotters this far have been one pixel at a time. |
| |
Trifox Account closed
Registered: Mar 2006 Posts: 108 |
thank you for tips, i have not finished yet exploring the pixelset stuff, but i made my first sprite multiplexer:
http://www.digitalgott.com/c64/sprites_dotflag.prg
and source:
http://www.digitalgott.com/c64/sprites_dotflag.a
what you think ;)it is all done with sprites, display is not switched off, but turned black ... what is now the best way to put a ~stable raster line on the top or bottom ?
har har, and i can even put text on the right side ...
|
| |
Trifox Account closed
Registered: Mar 2006 Posts: 108 |
i made another sprite multiplexer routine :
this one 16x8 Sprites are moved independently on x axis :)
source:
http://www.digitalgott.de/c64/sprites_double.asm
bin:
http://www.digitalgott.de/c64/sprites_double.prg
|
| |
Oswald
Registered: Apr 2002 Posts: 5094 |
looks like some of those "experimental" flash stuffs :) |
| |
Skate
Registered: Jul 2003 Posts: 494 |
@trifox: Not bad at all. I think you've a good coding background but now you are interested in c64 platform. Correct me if I'm wrong. |
| |
Cruzer
Registered: Dec 2001 Posts: 1048 |
nice previews, reminds me of some of my first routines from 1989-90. |
| |
Trifox Account closed
Registered: Mar 2006 Posts: 108 |
hi, thanks for replys,
@skate yes i did all this stuff on the good old amiga, and now ( in my first week of c64 coding ... ;)) i try to reimplement most of the effects i know so far, nothing special at all, just sine/cosine playing, i just finished a nice text mode dotflag ... ;)
exe
http://www.digitalgott.com/c64/dotflag.prg
src
http://www.digitalgott.com/c64/dotflag.asm
most of my sample codes consists of exxcesive macro usage, this is mostly because of the ugly 256byte page jumping around, so if i want to fill a line of text i make a macro
and use this macro 25 times ... ;)
now i am ready to do some more interesting stuff, i will open a new thread for getting info about linedoubling ...
but here is just another piece of code, a big text scroller
src
http://www.digitalgott.com/c64/scrolltext_smooth.asm
exe
http://www.digitalgott.com/c64/scrolltext_smooth.prg
and i also started a little demo editing toolkit for windows, here is the sinus editor for the sprite multiplexer:
http://www.digitalgott.com/c64/c64_sineditor.exe
and due to the fact that i want to achieve a plasma effect on c64 i made also an opengl plasma editor ;)
http://www.digitalgott.com/c64/c64_plasma_editor.exe |
| |
Oswald
Registered: Apr 2002 Posts: 5094 |
nice to see you're making fast progress ! :)
little advice for the dot flag: make the x and y movement about the same speed. Currently x speed is too high and its not so nice. Also if you use a bitmap plotter you could have a much bigger amplitude. As the fx looks now, it could be done with animated characters ;)
|
| |
Trifox Account closed
Registered: Mar 2006 Posts: 108 |
... sorry, it actually IS DONE by animating charachters ... ;) 25*15 charachters, hehe, i have not implemented anything using bitmaps ... ;// |
Previous - 1 | 2 - Next |