New demo uploaded: Amiga Workbench highres 4colors

All aspects of programming on the Commander X16.
Post Reply
User avatar
desertfish
Posts: 1125
Joined: Tue Aug 25, 2020 8:27 pm
Location: Netherlands

New demo uploaded: Amiga Workbench highres 4colors

Post 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






 
kelli217
Posts: 545
Joined: Sun Jul 05, 2020 11:27 pm

New demo uploaded: Amiga Workbench highres 4colors

Post 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?

User avatar
desertfish
Posts: 1125
Joined: Tue Aug 25, 2020 8:27 pm
Location: Netherlands

New demo uploaded: Amiga Workbench highres 4colors

Post 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)

Starsickle
Posts: 81
Joined: Mon Aug 31, 2020 12:00 am

New demo uploaded: Amiga Workbench highres 4colors

Post by Starsickle »


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

Perifractic
Posts: 511
Joined: Sat Apr 25, 2020 4:53 pm

New demo uploaded: Amiga Workbench highres 4colors

Post by Perifractic »

This is really cool!


Perifractic, X16 Visual Designer
http://youtube.com/perifractic
User avatar
desertfish
Posts: 1125
Joined: Tue Aug 25, 2020 8:27 pm
Location: Netherlands

New demo uploaded: Amiga Workbench highres 4colors

Post 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.

Post Reply