Page 1 of 1

New demo uploaded: Amiga Workbench highres 4colors

Posted: Tue Feb 02, 2021 10:40 pm
by desertfish



Amiga Workbench highres 4colors




View File






I needed a test program for the graphics routines in Prog8 that now also work in highres 4 color screen mode.

I thought it would be fun to replicate a classic Amiga Workbench desktop screen, using just the graphics drawing commands.

 

Note that the text font is actually the built-in iso charset. It is fairly similar to the Amiga's topaz font, so I just went with it and didn't bother to replicate the font pixel-perfect.

Also I didn't bother to make a nice white/red sprite mouse cursor, maybe I'll try to add this in a later version.

Here is a screenshot of a real Amiga Workbench 3.1 in action:

25_workbench.png






 

New demo uploaded: Amiga Workbench highres 4colors

Posted: Wed Feb 03, 2021 2:28 am
by kelli217

Did you get this resolution with DC_VSCALE? Or did you do it the ‘hard’ way by drawing a full 640×480 screen worth of pixels but just with everything doubled vertically?


New demo uploaded: Amiga Workbench highres 4colors

Posted: Wed Feb 03, 2021 8:42 am
by desertfish

Yes, with VSCALE. The routines don't know this and assume 1:1 pixel aspect ratio hence the egg shaped circles in the icons.... (on 320x240 or 640x480 they are proper circles)


New demo uploaded: Amiga Workbench highres 4colors

Posted: Fri Feb 19, 2021 12:49 am
by Starsickle

As an old Amiga 1000 user, I salute this. Keep it up!


New demo uploaded: Amiga Workbench highres 4colors

Posted: Fri Feb 19, 2021 4:09 am
by Perifractic
This is really cool!


Perifractic, X16 Visual Designer
http://youtube.com/perifractic

New demo uploaded: Amiga Workbench highres 4colors

Posted: Fri Feb 19, 2021 9:20 am
by desertfish

If you look closely there are 2 issues that I'd like to fix in a future version (but I'm not in a hurry):

- the circles are ovals because they always assume 1:1 pixel ratio, perhaps it is possible to draw ovals with different x/y ratios. Then again this "weird" resolution is not something we would encounter often on the commanderX16

- there are some problems in the line drawing code, certain diagonal lines are off by a pixel or so somehow. you can see this in the "scrollbar" up/down arrow buttons and in the Amiga "VV" logo. I don't know why this is happening yet.