Welcome, Guest. Please login or register.

Author Topic: Amos Interlace Screens not working under Kickstart 3.1  (Read 3273 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline arongoochTopic starter

  • Jr. Member
  • **
  • Join Date: Aug 2016
  • Posts: 66
    • Show only replies by arongooch
Amos Interlace Screens not working under Kickstart 3.1
« on: July 03, 2017, 04:55:23 AM »
Hi all, recently I have been having an issue opening interlace screens in either Amos1.3 or Pro2.0 running under Kickstart3.1

Opening a screen in any resolution with interlace running on Amos 1.3 or Pro under Kickstart3.1 opens a screen as shown here with what seems like the second scanline frame is missing ie interlace mode not operating and showing missing lines. This happens in either WinUAE emulation or on my A1200 or A600 with native output.

Running either Amos1.3 or Pro2.0 under Kickstart 1.3 however, the interlaced output screen works perfectly fine.

I have put this question to the EAB forum and someone suggested setting the editor config to "interlace: Yes" mode. When I do this the editor window gets squished to half of the screen and the output window in interlace mode still has the exact same issue of missing lines ie no interlace screen.

I have a pretty much finished a game I want to release that works in any Amos under kickstart1.3 but looks all horrible in kickstart3.1 because of the missing lines.

The picture I attached shows a simple program of opening a screen "screen open 1,640,512,16,hires+laced" and a few print test lines then ends. I get the same issue if I load an interlaced IFF picture in Amos under kickstart 3.1 as well.

Anyone got any ideas on what could be wrong here?
 

Offline Oldsmobile_Mike

Re: Amos Interlace Screens not working under Kickstart 3.1
« Reply #1 on: July 03, 2017, 02:54:15 PM »
Just go clarify, are you saying this is an Amos problem or an interlace screenmode problem? If you open an interlaced screenmode in Workbench or any other program does it display correctly?
« Last Edit: July 03, 2017, 03:56:58 PM by Oldsmobile_Mike »
Amiga 500: 2MB Chip|16MB Fast|30MHz 68030+68882|3.9|Indivision ECS|GVP A500HD+|Mechware card reader + 8GB CF|Cocolino|SCSI DVD-RAM
Amiga 2000: 2MB Chip|136MB Fast|50MHz 68060|3.9|Indivision ECS + GVP Spectrum|Mechware card reader + 8GB CF|AD516|X-Surf 100|RapidRoad|Cocolino|SCSI CD-RW
 Amiga videos and other misc. stuff at https://www.youtube.com/CompTechMike/videos
 

Offline AmigaAbattoir

  • Newbie
  • *
  • Join Date: Apr 2002
  • Posts: 47
    • Show only replies by AmigaAbattoir
    • https://www.abattoir-software.com
Re: Amos Interlace Screens not working under Kickstart 3.1
« Reply #2 on: July 03, 2017, 03:03:24 PM »
I'm trying to remember, but I think there was a weird issue with AMOS Pro and interlace screens under KS 3.1. Since AMOS banged the hardware pretty heavily, there are all sort of issue that pop up. I'm pretty sure that KS 3.0 worked fine, but once I upgraded to 3.1 interlace screens wouldn't display right.

I don't remember if there was a patch from Pietro Ghizzoni or if you had to flip back to Workbench then back to AMOS for it to show up right.
« Last Edit: July 03, 2017, 03:17:01 PM by AmigaAbattoir »
 

Offline arongoochTopic starter

  • Jr. Member
  • **
  • Join Date: Aug 2016
  • Posts: 66
    • Show only replies by arongooch
Re: Amos Interlace Screens not working under Kickstart 3.1
« Reply #3 on: July 04, 2017, 03:35:15 AM »
Sorry about the uploaded screenshot, not much clarity in that at all. But just imagine an interlace screen with every second scan line missing.

Just to clarify, yes interlace is working correctly in WB and other programs etc. No problem with the hardware or OS. Just a problem within Amos opening interlace screens and only in Kickstarts/WB higher than 1.3 which really gets me.

I might go over and make sure all my libraries are updated for the Amos Pro I have. Just weird that both Amos Pro & Amos 1.3 both have the same issue and only with Kickstarts above 1.3

I will try the flip back to WB and back again and see if that makes a difference.

Interestingly enough even if I compile an Amos program to run straight from CLI or WB my game works but I still get the interlace every 2nd scan line missing issue/no working interlace screen.
 

Offline SamuraiCrow

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 2280
  • Country: us
  • Gender: Male
    • Show only replies by SamuraiCrow
Re: Amos Interlace Screens not working under Kickstart 3.1
« Reply #4 on: July 04, 2017, 03:48:06 AM »
Quote from: AmigaAbattoir;827884
I'm trying to remember, but I think there was a weird issue with AMOS Pro and interlace screens under KS 3.1. Since AMOS banged the hardware pretty heavily, there are all sort of issue that pop up. I'm pretty sure that KS 3.0 worked fine, but once I upgraded to 3.1 interlace screens wouldn't display right.

I don't remember if there was a patch from Pietro Ghizzoni or if you had to flip back to Workbench then back to AMOS for it to show up right.


http://eab.abime.net/showpost.php?p=1169208&postcount=24 show's Toni Wilen's agreement with the situation.
 

Offline arongoochTopic starter

  • Jr. Member
  • **
  • Join Date: Aug 2016
  • Posts: 66
    • Show only replies by arongooch
Re: Amos Interlace Screens not working under Kickstart 3.1
« Reply #5 on: July 06, 2017, 03:04:15 AM »
As soon as I get back to my machine, hopefully very soon, I will test this again on KS >1.3 & <3.1 and get back here with the results. Very interesting about the graphics.library change for KS3.1. If that is the problem I wonder if an Amos library could be rewritten and recompiled to operate with KS3.1?
 

Offline arongoochTopic starter

  • Jr. Member
  • **
  • Join Date: Aug 2016
  • Posts: 66
    • Show only replies by arongooch
Re: Amos Interlace Screens not working under Kickstart 3.1
« Reply #6 on: July 06, 2017, 10:41:25 AM »
I looked back into this tonight and sure enough KS 1.3,2.04,3.0 all work correctly but using KS3.1 it's indeed a no go. It would appear that the graphics.library is different and Amos Pro 2.0 and Amos 1.3 don't seem to open working interlace screens with Kickstart 3.1

Im wondering what my next move should be. Is there a way to modify an Amos library to work correctly with the graphics.library in KS3.1? I wouldn't have a clue how to do this and I wonder if there would be many people around these days that could get this to work?
« Last Edit: July 06, 2017, 10:43:36 AM by arongooch »
 

Offline Pat the Cat

Re: Amos Interlace Screens not working under Kickstart 3.1
« Reply #7 on: July 06, 2017, 04:46:09 PM »
Quote from: arongooch;827980
I looked back into this tonight and sure enough KS 1.3,2.04,3.0 all work correctly but using KS3.1 it's indeed a no go. It would appear that the graphics.library is different and Amos Pro 2.0 and Amos 1.3 don't seem to open working interlace screens with Kickstart 3.1

Im wondering what my next move should be. Is there a way to modify an Amos library to work correctly with the graphics.library in KS3.1? I wouldn't have a clue how to do this and I wonder if there would be many people around these days that could get this to work?

I would hazard a guess you will need to write a routine in a different development environment to hit the hardware politely? I don't know if Amos Pro actually lets you call external routines easily.

Daedalus recent release Aminet "ADFBlitzer" is written to call routines politely, but it's written in Blitz, not Amos. So while it's an open source demonstration, it's not exactly an ideal example for you to study.

That's maybe a way around the issue. Section 9.2.1 of the manual does state you can include machine code routines, but I have no idea how functional this is for your purpose.
« Last Edit: July 06, 2017, 04:52:48 PM by Pat the Cat »
"To recurse is human. To iterate, divine."

A1200, Vanilla, Surf Squirrel, SD Card, KS 3.0/3.z, PCMCIA dev
A500, Vanilla, A570, Rev 5, KS 1.2/1.3 Testbench system
Rasp Pi, UAE4ARM, 3D laser scanner, experimental, hoping for AmigaOS4Arm, based on Watterott Fabscan Pi
 

Offline Oldsmobile_Mike

Re: Amos Interlace Screens not working under Kickstart 3.1
« Reply #8 on: July 06, 2017, 04:57:38 PM »
What about using LoadModule to pull in a different graphics.library?  Have you tried Cosmos's routines, for example?

Obviously this wouldn't help if you intend to distribute your application, but may help give a better understanding of the issue?
Amiga 500: 2MB Chip|16MB Fast|30MHz 68030+68882|3.9|Indivision ECS|GVP A500HD+|Mechware card reader + 8GB CF|Cocolino|SCSI DVD-RAM
Amiga 2000: 2MB Chip|136MB Fast|50MHz 68060|3.9|Indivision ECS + GVP Spectrum|Mechware card reader + 8GB CF|AD516|X-Surf 100|RapidRoad|Cocolino|SCSI CD-RW
 Amiga videos and other misc. stuff at https://www.youtube.com/CompTechMike/videos
 

Offline x303

Re: Amos Interlace Screens not working under Kickstart 3.1
« Reply #9 on: July 06, 2017, 11:49:22 PM »
Quote from: arongooch;827980
Im wondering what my next move should be. Is there a way to modify an Amos library to work correctly with the graphics.library in KS3.1? I wouldn't have a clue how to do this and I wonder if there would be many people around these days that could get this to work?
Think I had that issue too back in the days. Which version of amos.library do you have ? If you have the standard one that comes with the disks (2.00), get that one replaced with a newer version (v2.30+).
 

Offline arongoochTopic starter

  • Jr. Member
  • **
  • Join Date: Aug 2016
  • Posts: 66
    • Show only replies by arongooch
Re: Amos Interlace Screens not working under Kickstart 3.1
« Reply #10 on: July 07, 2017, 03:59:36 AM »
Would be very cool to write something in machine code in Amos to set the interlace screen properly with the graphics.library if that is indeed the issue. Have no idea how to do that though hahaha.

That's definitely worth looking into and I think I will give that a go sometime using LoadModule to try out different graphics.libraries. Hopefully that will make it a bit clearer which graphics.library could be causing this issue. But yeah ultimately I want to eventually share this game ive written without having to play around with different libraries on other machines.

Does anyone know where I can find the updated Amos.library and possible other updated libraries >2.00? Ive seen there is a version 2.30 amos.library but cannot seem to hunt it down at this stage. I have all libraries versioned 2.00.
 

Offline Pat the Cat

Re: Amos Interlace Screens not working under Kickstart 3.1
« Reply #11 on: July 08, 2017, 02:58:37 PM »
Quote from: arongooch;828015
Would be very cool to write something in machine code in Amos to set the interlace screen properly with the graphics.library if that is indeed the issue. Have no idea how to do that though hahaha.
 

 I'm going out on a limb, but you might not even need to to write a machine code routine or follow Mike's suggestion (but that might help a lot if a newer graphics library or the older one works).
 
  The part that is broken is the software in Kickstart 3.1 that opens a graphics library. If you do that and then "hit the hardware" with a POKE, DOKE or maybe LOKE, hopefully the screen data your game produces is interpreted right and you are sorted.
 
 If Amos let's you do such things, then that would get the code going to real Amigas, should be OK on the emulator. Without writing external code. I suspect Amos might not permit that, as it's the sort of "kiddy wheel feature" which stops rummaging under the bonnet. I don't know either way.
 
 IIRC, the reason you can't do a copper list to write every single hardware registers is that the early hardware registers are protected from being written by a copper list. So an out of control copper has some kind of limit on it anyway. Again, IIRC, frames are displayed alternately, so you need to change the pointers to the data every screen update to do interlace on native Amiga chipsets.
 
 The tough part is you learning how to setup Amiga screens by using hardware registers. Opening a library correctly and using that is the preferred, most compatible method. Further details on both methods in Hardware reference manual and rom kernal manuals.
 
 It's nice to have different options by learning more, and it sucks that Amos just doesn't work in this respect. Amos Pro was released before 3.1 so I don't think it was tested with that.
"To recurse is human. To iterate, divine."

A1200, Vanilla, Surf Squirrel, SD Card, KS 3.0/3.z, PCMCIA dev
A500, Vanilla, A570, Rev 5, KS 1.2/1.3 Testbench system
Rasp Pi, UAE4ARM, 3D laser scanner, experimental, hoping for AmigaOS4Arm, based on Watterott Fabscan Pi
 

Offline x303

Re: Amos Interlace Screens not working under Kickstart 3.1
« Reply #12 on: July 09, 2017, 01:33:01 PM »
Quote from: arongooch;828015
Does anyone know where I can find the updated Amos.library and possible other updated libraries >2.00? Ive seen there is a version 2.30 amos.library but cannot seem to hunt it down at this stage. I have all libraries versioned 2.00.


You can try these versions.https://we.tl/im9iCUI7ww
 

Offline psxphill

Re: Amos Interlace Screens not working under Kickstart 3.1
« Reply #13 on: July 09, 2017, 08:14:57 PM »
Quote from: Pat the Cat;828041
The part that is broken is the software in Kickstart 3.1 that opens a graphics library. If you do that and then "hit the hardware" with a POKE, DOKE or maybe LOKE, hopefully the screen data your game produces is interpreted right and you are sorted.


The part that sounds broken is Amos. It sounds like it's either doing something wrong when opening the screen or making assumptions about the copper list or memory layout.

The source code was released at one point, so it should be quite easy to work out what the problem is and fix it.
 

Offline x303

Re: Amos Interlace Screens not working under Kickstart 3.1
« Reply #14 on: July 09, 2017, 09:18:23 PM »
Quote from: psxphill;828072
The part that sounds broken is Amos. It sounds like it's either doing something wrong when opening the screen or making assumptions about the copper list or memory layout.

The source code was released at one point, so it should be quite easy to work out what the problem is and fix it.


Why not check out the newer version(s) and see if it was already fixed  :confused: