View Single Post
Old 06 February 2021, 23:07   #22
Vesuri
Registered User
 
Join Date: Sep 2019
Location: Amsterdam / The Netherlands
Posts: 49
Quote:
Originally Posted by clenched View Post
This could be made to work by opening graphics.library, set bit 2 in the GfxBase structure [WORD gb_system_bplcon0].
Thanks a lot for this! I can confirm that running the following code before starting Hired Guns indeed fixes the problem:

Code:
        include system

        section PublicCode,Code

ForceLace:
        move.l  4.w,a6
        moveq   #0,d0
        lea     graphicsLibraryName,a1
        jsr     _LVOOpenLibrary(a6)
        tst.l   d0
        beq.s   .quit
        move.l  d0,a1
        or.w    #INTERLACE,gb_system_bplcon0(a1)
        jsr     _LVOCloseLibrary(a6)

        moveq   #0,d0
.quit:  rts

        section PublicData,data

graphicsLibraryName:    dc.b "graphics.library",0
The executable file for this is attached to this post.
Attached Files
File Type: lha ForceLace.lha (392 Bytes, 53 views)

Last edited by Vesuri; 06 February 2021 at 23:17.
Vesuri is offline  
 
Page generated in 0.04469 seconds with 12 queries