** New Frontiers in VIC-Hires-Graphics, Part 4

Basic and Machine Language

Moderator: Moderators

armypavarmy
Vic 20 Hobbyist
Posts: 107
Joined: Wed Oct 02, 2013 1:54 am
Location: Italy

Re: New Frontiers in VIC-Hires-Graphics, Part 4

Post by armypavarmy »

Hello ..........Mike
I have read all articles on the frontieres hires news

I've scribbled all the programs and demos

i would like to try using version 208208 24K

The program that adds the graphical commands

is no longer available on the site mentioned in Article 4

Is it still possible to have it?

Thanks ....... greetings ............. Armando
armypavarmy
Vic 20 Hobbyist
Posts: 107
Joined: Wed Oct 02, 2013 1:54 am
Location: Italy

Re: ** New Frontiers in VIC-Hires-Graphics, Part 4

Post by armypavarmy »

Sorry I did not explain
this is what I would like to have
but the link can not be scribbled

The demo file stops at line 40
reset to exit.

Thanks ...... Armando
Mike wrote:I could provide a pixel-set, and line-drawing routine.

Here we go:

(mod: original, now defunct d/l link removed)

The archive contains 'plot.prg', 'line.prg', and sources. Just drop the two '*.prg' files into the same directory, where '208208-24k.prg' resides, drop the latter into VICE (incidently mounting the surrounding directory), and then, for example LOAD"LINE.PRG",8 and RUN.

I lifted the line-routine from MINIGRAFIK. Only minimal changes were necessary.

Feel free to include the routines into your display program.
Last edited by Mike on Mon Aug 27, 2018 10:58 am, edited 1 time in total.
Reason: repaired quotation
User avatar
Mike
Herr VC
Posts: 4816
Joined: Wed Dec 01, 2004 1:57 pm
Location: Munich, Germany
Occupation: electrical engineer

Re: ** New Frontiers in VIC-Hires-Graphics, Part 4

Post by Mike »

Hi, Armando.

I had to ask tokra, if he still had a copy of those two demonstration programs I sent him 7 years ago. That turned out with a positive result - for myselves, I couldn't find no trace anymore of those on my HDD (download 208x208_demo.zip):

'plot.prg' contains the pixel plot routine converted to machine code, so pixels can be set at a bearable speed - instead of doing complicated calculations and table look-ups in BASIC that take ages just for one single pixel. A parameter allows to set, reset or invert pixels. 'line.prg' adds in the line routine lifted from MINIGRAFIK, and draws random lines on the screen.

As I wrote earlier in the translated PM, you'll first have to run the program '208208-24k.prg' with at least a +24K RAM expansion. This leaves you with a start-up screen with 7000 or so bytes free, with the machine code installed at the correct place, and memory allocated for the bitmap. From there, run 'plot.prg' or 'line.prg'.

...

Mind you, this mode only runs on PAL VIC-20's and the display routine only leaves 10% or so remaining CPU power, so this mode is not exactly fun to work with. For me, it merely served as stepping stone on the way to MAXIGRAFIK.




P.S. you're still stuck for an answer to my questions in the MG lineart thread. :(
Post Reply