General Category > Programming

Winape Assembler

(1/2) > >>

Johnny Olsen:
    org &6000

        ld hl,kommando    ;ellers find tape kommando
        call &bcd4          ;i discrom
        ld (gem),hl          ;gem adr for kommando
        ld a,c                 ;rom nr.
        ld (gem1),a         ;gem rom nr.
        xor a                  ;ld a,0. Hvorfor det skal g|res er et mysterie
        rst 3,gem            ;udf|rer kommandoen
        ret
.kommando
         text "TAP","E"+&80
.gem    rmem 2            ;adr for kommando
.gem1   rmem 1            ;rom nr for kommando

This piece of code works with maxam but not with winape assembler.
Is there anyone who could tell me how the restart (rst 3 ~ rst 18)
syntax works in winape?

Executioner:

--- Quote from: Johnny Olsen on 14:19, 12 June 09 ---Is there anyone who could tell me how the restart (rst 3 ~ rst 18)
syntax works in winape?

--- End quote ---

Yes, WinAPE doesn't assume any parameters for the restart instructions, you need to modify it to be:

rst 3:dw gem

Johnny Olsen:
It works, thank you

Executioner:

--- Quote from: Johnny Olsen on 21:29, 15 June 09 ---It works, thank you

--- End quote ---

No problems, thanks for pointing this out. I'll look at adding the comma support for the next release.

akj:
@Executioner:
 
 As I see you are the WinApe developer, I am going to take the liberty of hoping you will be willing to try and resolve a few queries for me.
 
 My version of WinApe is 2.0 alpha 17 and I am using it under Windows XP Pro.
 
 1. My USB joystick does not work in WinApe, but it does work fully and correctly in Caprice32 and WinCPC.  Control Panel -> Game Controllers also recognises it as a 2-axis 8-button game pad and all tests succeeed.
The joystick is enabled in the WinApe input settings.
 Have you any idea how my joystick can be made to work in WinApe?
 
 2. Always when I start WinApe I get a pop-up dialogue box saying "Unknown Archive Type".  What can I do to prevent this message?
 
 3. Is there any way to force a snapshot to always execute at WinApe startup?
 
 4. Is there any way to force a snapshot to always execute when the CPC emulation is reset (the equivalent of CALL 0) ?
 
 I have used WinApe for ages, and have had loads of fun with it.
 
 Many thanks if you can help with my questions.
 
 Anthony Jordan

 

Navigation

[0] Message Index

[#] Next page

Go to full version
Powered by SMFPacks Reactions Mod
Powered by SMFPacks Alerts Pro Mod
Powered by SMFPacks Mentions Pro Mod