I just wanted to put a G2F under ROM and thought that i simply can use xboot /p to create the correct bootloader with xasm. i just want to add the g2f binary without hassle in my boinxx main code by

...
    org $c000
    ins 'title_g2f.obx',6
...

and in Boinxx i'll gonna call the G2F at the beginning... but it's interesting that Boinxx assembled with the /p flag will be loaded but not started properly but when assembled without the P flag it works?

strange... the 1st code segment of Boinxx switches of ROM and installes new NMI routines so it should be no problem? does anybody have any experience with Fox' professional loader?

2

Hmm? If I understood correctly you turning off ROM _after_ loading this block (under $c000)? Am I correct? Or you have some INIT after first block (which turns off ROM on the start of loading)? Please be more datailed.

3

i try to explain it more...

i was under the impression that a code segment assembled with

;test.asx
org $c000
ins 'title_g2f.obx',6
end

xasm test.asx
xboot /p test.obx

will generate an ATR with fox' pro loader... so this loader loads the segments and moves them under OS f.e. $c000.

in Boinxx i am installing my own NMI to have more RAM available...so when Boinxx was loaded with the Pro loader i should have the G2f correctly at $c000.

but insteresting is that Boinxx is loaded correctly by the pro loader and is started but the screen remains velvet and the MPT music does not start... so there is something messy going on...

[ Dodano: Nie Lut 06, 2005 18:18 ]
here is the init of boinxx. maybe the pro loader is doing switching OFF the rom before entering the loaded file... maybe this messes up my code...


        org $4000

start             jsr wait_frame            ;wait one frame
                jsr switch_off_os_rom
                jsr init
                jsr pminit                ;init pm gfx
...

wait_frame  lda 20
            cmp 20
            beq *-2
            rts

switch_off_os_rom   sei              ;stop interrups
                    mva #0 ^4e       ;stop all interrupts
                    mva #$fe ^31
                    mwa    #nmi    $fffa
                    mwa    #nmi    $fffe
                    mva    #$c0    ^4e
                    rts
; NMI routine
; ^4f==#$5f if VBLKI
; ^4f==#$9f if DLI
nmi    bit    ^4f
    bpl    sys_vbl
; DLI routine, e.g.
;    pha
        jmp (dliv)
;    pla
;    rti

; VBL routine, e.g.
sys_vbl    pha
    txa:pha
    tya:pha
    dec 20
        lda $d300            ;prepare joystick
        and #$0f
        sta stick0
        jsr vbl
    pla:tay
    pla:tax
    pla
    rti

[ Dodano: Nie Lut 06, 2005 18:18 ]
http://www.atariage.com/forums/viewtopi … 548#791548

here is the latest build of the game.

4

check g2f source code

i add new ini block:


;-- BASIC switch OFF
 org $2000
 lda #$ff
 sta $d301
 rts
 ini $2000
*- TeBe/Madteam
3x Atari 130XE, SDX, CPU 65816, 2x VBXE, 2x IDE Plus rev. C

5

thanks tebe... i'll gonna check it out...

btw. here is the new 2 level beta version...

http://www.atariage.com/forums/viewtopi … 548#791548

6

O yes. Mads is good ... what Tebe  :lol: