24 October 2017, 16:14 | #61 |
Registered User
Join Date: Apr 2016
Location: Perth, Australia
Posts: 384
|
Ah that makes sense, thanks Photon! I knew your demo starter code was perfect already and it must've been something wrong on my end
|
24 October 2017, 21:32 | #62 |
Registered User
Join Date: May 2013
Location: Grimstad / Norway
Posts: 839
|
Would a Forbid() have stopped AsmOne from being creative, or is that an async operation picked up by input.device or something?
|
25 October 2017, 10:57 | #63 |
ex. demoscener "Bigmama"
Join Date: Jun 2012
Location: Fyn / Denmark
Posts: 1,624
|
Yes. Although unlikely, the screen switch could also be performed by the user at the critical point, so finding a fix/workaround is probably a good idea..
|
01 November 2017, 21:30 | #64 |
Moderator
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,602
|
The logical assumption is that your assembler IDE sets up the environment options you specify before executing your code. In this case, it should mean that your first line of code is executed in an NTSC screen mode. One of the lines of code turning off the interrupts should reasonably not affect anything, since there's a line of code in the startup that turns off the interrupts already.
|
14 May 2018, 00:22 | #65 |
Registered User
Join Date: Feb 2018
Location: Grenoble / France
Posts: 14
|
To make sure the program runs in the expected screenmode/resolution, is it required to setup a new Screen via system calls or is there some way to poke the hardware to get it to run the program in - say - PAL mode regardless of the screen mode of the IDE or Workbench?
EDIT: sorry Photon if that's a question you address at some point in AsmSkool. Still working my way up from episode 21, and it's not something that has been mentioned yet at this point, if I'm not mistaken. |
14 May 2018, 09:36 | #66 | |
Defendit numerus
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 53
Posts: 4,468
|
Quote:
So a move.w #$20,$dff1dcworks. |
|
14 May 2018, 17:27 | #67 |
Join Date: Jul 2008
Location: Sweden
Posts: 2,269
|
BEAMCON0 and the other registers part of the display generator circuitry are black magic best left to be handled by Intuition and Graphics IMO. Make your setup code open a screen, that way you get output on the native video (if Workbench is running on RTG) and can select PAL/NTSC at the same time.
|
26 May 2018, 14:40 | #68 | |
Moderator
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,602
|
Quote:
In the first post, the problem turned out to be a combination of an NTSC mode used in Workbench on a PAL machine and one of the options in his Assembler forcing that mode temporarily in the handoff moment from the Assembler to the running demo code. Unchecking the box fixed it (and all other PAL stuff he would like to run from inside the Assembler!) You can start an Intuition screen and then take over the system as Leffman suggests, but it's not required. |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Can anyone work with the code from this game...? | Peter | Coders. General | 3 | 09 November 2009 16:19 |
WinUAE: Sumea Demo doesn't work properly | Leonid | support.WinUAE | 7 | 06 May 2008 20:33 |
Rocket ranger code wheel won't work | paul9090 | support.Games | 32 | 18 February 2002 23:30 |
Can anyone make this demo work? | Ziaxx | support.Demos | 20 | 02 January 2002 21:03 |
|
|