English Amiga Board


Go Back   English Amiga Board > Coders > Coders. General

 
 
Thread Tools
Old 07 December 2023, 04:02   #1
Warty
Registered User
 
Join Date: Aug 2018
Location: Minneapolis, USA
Posts: 301
Full-screen overscan on KS1.3?

I'm trying to display a full overscan HAM-6 image at 368x462. I'm targeting 1.3 for this game, and am coding in C. I am opening a new custom screen, and a backdrop window, and loading the graphic into that window's RastPort. The window starts at 0,0. RKM says:
Quote:
LeftEdge, TopEdge
The LeftEdge and TopEdge variables give the position of the screen relative to the upper left corner of the monitor’s visible display (as set by the user in the Overscan preferences editor). If it is positioned down or to the right, the values are positive. If the screen is positioned up or to the left, the values are negative. The values are in screen resolution pixels. In systems prior to V36, LeftEdge positioning is ignored and negative TopEdge positions are illegal.
and, of course, it looks fine on UAE, but on real hardware, the bottom and right edges are totally cut off, because it didn't actually position itself to start in the overscan area. Admittedly, my A3000 is displaying this, and it has an indivision in it, so that has some impact I can't describe.

I had to turn the HAM image loading off in low memory situations, so on my unmodified A1000, I don't know what it would do exactly.

First screenshot is of it on A3000 hardware booted to 1.3, second is UAE with emulated A3000 using 3.2.1.

Any pointers?
Attached Thumbnails
Click image for larger version

Name:	Screenshot 2023-12-02 - IMG_2194_s.jpeg
Views:	125
Size:	344.6 KB
ID:	80960   Click image for larger version

Name:	Screenshot 2023-12-02 splash-uae.png
Views:	119
Size:	730.4 KB
ID:	80961  
Warty is offline  
Old 11 December 2023, 21:35   #2
Warty
Registered User
 
Join Date: Aug 2018
Location: Minneapolis, USA
Posts: 301
I found this snipped in an AmigaWorld Tech Journal article (see attachment). Basically it says people used various hacks to do this before the 2.0 ROMs. I'm not sure how to search for stuff like that. Pre-internet. I don't have any early Amiga magazines.

hmm. Maybe Fred Fish...
Attached Thumbnails
Click image for larger version

Name:	IMG_2224.jpeg
Views:	73
Size:	317.1 KB
ID:	81021  
Warty is offline  
Old 11 December 2023, 23:12   #3
saimon69
J.M.D - Bedroom Musician
 
Join Date: Apr 2014
Location: los angeles,ca
Posts: 3,604
Maybe looking for the transactor magazines online? I know a lot of dev topics were there
saimon69 is offline  
Old 01 January 2024, 18:42   #4
Warty
Registered User
 
Join Date: Aug 2018
Location: Minneapolis, USA
Posts: 301
In case anyone needs this in the future, the answer is basically this:
- you can't create the screen in 1.3 with any offsets
- 1.3 knows about dxOffset, dyOffset, but they can't be set after the fact.
- you need to create a new View, configure it, then LoadView() it into existence.

A couple of examples to look at:
- https://wiki.amigaos.net/wiki/Classi...ics_Primitives
(look at the example under "Loading and Displaying the View")
- aminet: HamPics. http://aminet.net/package/pix/misc/HamPics
/*
* loadpic.c - ILBM loader which runs from the workbench
*
* Written by Jonathan Hue - if you decide to steal some of this
* code (yeah, like anyone would want to), give me credit.
*/
Warty is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
The Plague in full Overscan glory, AT LAST! ZEUSDAZ Retrogaming General Discussion 7 02 November 2023 00:12
Black screen in full screen but not full window Winuae all versions Mixter support.WinUAE 18 30 June 2013 00:45
Garbled overscan screen Leandro Jardim support.WinUAE 5 18 June 2013 15:22
WHDLOAD and Overscan Screen Position ancalimon support.Apps 1 04 January 2012 13:35
WB overscan and screen size Marcuz support.Apps 0 20 December 2006 16:40

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 02:05.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.07474 seconds with 14 queries