1

(4 odpowiedzi, napisanych Software, Gry - 8bit)

thanks, Fox.

another question... is there an easy way to convert MADS atascii (dta c"blabla") to c64 ascii?

2

(4 odpowiedzi, napisanych Software, Gry - 8bit)

great! Thanks Tebe... ;) "multiplatform" development... ;)

3

(4 odpowiedzi, napisanych Software, Gry - 8bit)

Tebe,

would it be hard to compile a MADS version to support C64?

it would be easier for me to port stuff over...

or can I use a macro to make the correct headers?

I am preparing the final version of the Metagalactic Llamas conversion project and want to include text screens with history and manual.

Is there a tool which I can use and easily implement in MADS? I tried EED and Ghost Editor from Pentagram but not sure if they will do the job...

I want to use a tool which can export text best with proportional font and which delivers all necessary tools in the source code (page up/page down is enough)... or is there  an ideal text scroller for such a task?

My idea is to have playing RMT music while displaying Emkay's G2F title screen...after few seconds switching to the text screen...few seconds later back to the title screen...and back to text and next page...

can anybody help here?

scorpio... pfff... :D i am playing around now for 2 days with this irq stuff... ;) so i even tried stupid things to get it run... (but i haven't here my ATARI Intern book so i mixed up the vectors... ;))

ah. ;) you just gave me the answer... ;)

DANKE! :D

yes. seems to work...

why did you a CLI in each DLI?

ah...thats happening in your code as well... the main stuff "kk" will not be executed anymore after pressing one key...why?

in your example code the "JMP *" is not executed anymore after pressing one key... it's only the DLI/VBL/IRQ but not the "interrupted code".

any ideas whats wrong?

Tebe...am i stupid? look...this code hangs after pressing a key (see flashing $d018) but it is 99% your code? and your one works?

stick0    = 632
        
        org $4000
        
init    jsr switch_off_os_rom

kk        lda 540
        sta $d01a
        jmp kk
        
        switch_off_os_rom: 
        lda:cmp:req 20

        sei
        mva #0 $d40e
        sta $d20e

        mva #$fe $d301

        mwa #nmi $fffa

        mwa #irq $fffe

        mva #$40 $d20e   ; only keyboard
        mva #$40 $d40e
        cli
        rts
        
;NMI routine
;^4f==#$5f if VBLKI
;^4f==#$9f if DLI
nmi:    bit $d40f
        bpl vbi

        sei
        jmp dliv
dliv    equ *-2

vbi:           phr
            sta $d40f
            dec 540            ;just a simple counter
            lda 559
            sta $d400
;            sta $d40f        ;reset IRQs
            lda 560
            sta $d402
            lda 561
            sta $d403
            lda 756
            sta $d409
            lda 704
            sta $d012
            lda 705
            sta $d013
            lda 706
            sta $d014
            lda 707
            sta $d015
            lda 708
            sta $d016
            lda 709
            sta $d017
            lda 710
            sta $d018
            lda 711
            sta $d019
            lda 712
            sta $d01a
            lda $d300            ;prepare joystick
            and #$0f
            sta stick0
;            jsr vbl
            plr
            rti

irq:    bit $d40f
        spl ;skip + BPL
        rti
        phr
        lda $d209
        sta 764
        lda 53770
        sta $d018
        plr
        rti

Tebe, I am using Fox' IRQ-routine but i am not sure if he implemented proper keyboard irq handling?

Guys,

can you have a look:

http://www.atariage.com/forums/index.ph … p;id=91812

I have implemented own IRQ but it now crashes when DLI + Key is pressed. I know that it will jump directly to $cxxx as the vectors are still set to that adress space but maybe you can help me what i am doing wrong

;switch off OS rom routine by Hiassoft        
switch_off_os_rom: 
            sei 
            ldy #0 
            sty $d400 
            sty $d40e 
            sty si 
            lda #$c0 
            sta si+1 
ROMMV       lda (si),Y 
            dec $d301 
            sta (si),Y 
            inc $d301 
            iny 
            bne ROMMV 
            inc si+1 
            lda si+1 
            beq ROMOK 
            cmp #$d0 
            bne ROMMV 
            lda #$d8 
            sta si+1 
            bne ROMMV 
ROMOK       dec $d301;switch off ROM 
            lda #<nmi
            sta $fffa
            lda #>nmi
            sta $fffb
            lda #<null_irq
            sta $fffc
            lda #>null_irq
            sta $fffd
;            inc $d301;exit with ROM/OS on
            lda #$40 
            sta $d40e 
            cli 
            rts
                    
;NMI routine
;^4f==#$5f if VBLKI
;^4f==#$9f if DLI
nmi:    bit    $d40f
        bpl    sys_vbl
;DLI routine, e.g.
        jmp (dliv)

;VBL routine, e.g.
sys_vbl:    pha
            txa:pha
            tya:pha
            dec 540        ;just a simple counter
            lda 559
            sta $d400
            lda 560
            sta $d402
            lda 561
            sta $d403
            lda 756
            sta $d409
            lda $d409
            sta 764
            lda 704
            sta $d012
            lda 705
            sta $d013
            lda 706
            sta $d014
            lda 707
            sta $d015
            lda 708
            sta $d016
            lda 709
            sta $d017
            lda 710
            sta $d018
            lda 711
            sta $d019
            lda 712
            sta $d01a
            lda $d300           ;prepare joystick
            and #$0f
            sta stick0
            jsr vbl
            pla:tay
            pla:tax
            pla
null_irq:    rti

12

(13 odpowiedzi, napisanych Software, Gry - 8bit)

sometimes its strange...it was a corrupted DLI which confused (?) the map generator...the map generator does not crash but will not finish for unknown reason... the history in monitor showed that the cpu does not crashed by the damaged DLI...strange but anyway...one problem solved...

13

(13 odpowiedzi, napisanych Software, Gry - 8bit)

the next interesting thing is that my "map generator" does not work in my new build anymore... the code wasn't touched since for more than 12 months... the version from yesterday does work... aarg... it's 1:1 the same code... i love it...btw... i exported the labels in MADS 1.7.8 and loaded them into atari800win plus 4 but they seem not 100% correct... when comparing the labels.txt with the monitor and source code they are correct but when i am doing f.e. "D gen_map" the monitor disassembles wrong adress... strange...

14

(13 odpowiedzi, napisanych Software, Gry - 8bit)

i am saving my sources in ANSI and the UTF-8 without BOM was disabled...

15

(13 odpowiedzi, napisanych Software, Gry - 8bit)

it works now... strange...i CTRL+C, CTRL+V line by line the keyboard handler and now it works...seems there was something with Notepad++ format which MADS doesn't like. Thanks XXL for the advice.

16

(13 odpowiedzi, napisanych Software, Gry - 8bit)

Hi Tebe,

i just wrote new keyboard handler for Beyond Evil game and it works with MADS 1.7.8. but when inserted into Beyond Evil Source code I got following error message:

Runtime Error 216 at $xxxxxxx
$xxxxxx
$xxxxxx
$xxxxxx

any idea?

is there source code limit (size?) as Beyond Evil source is 116k without data files.
???

17

(3 odpowiedzi, napisanych Scena - 8bit)

Guys, just want to wish you a merry christmas!

take care.

18

(11 odpowiedzi, napisanych Scena - 8bit)

oh...but are you guys on skype?

19

(11 odpowiedzi, napisanych Scena - 8bit)

but forever is a no go as i am @ cebit 2007 show... ;(

20

(11 odpowiedzi, napisanych Scena - 8bit)

why not... really never met you guys live.... :D

21

(11 odpowiedzi, napisanych Scena - 8bit)

as we never met i thought next year is the 10nth aniversary being in TQA... ;)

22

(11 odpowiedzi, napisanych Scena - 8bit)

Guys,

we never met us personally.... where can we meet next year? where can i meet Eru, Fox, Dracon, X-Ray, Slaves, etc?

23

(6 odpowiedzi, napisanych Scena - 8bit)

btw. when will be there a english doc for mads? it seems that it is really powerful.... i switched from xasm to mads (sorry, fox... ;))

24

(6 odpowiedzi, napisanych Scena - 8bit)

thanks Tebe... i converted the source to MADS as i wanted to get ridd of the QA's LSR @, ASL @...

but i hope that MADS introduced not more bugs in my code simply by format changing, f.e. in the character screen of Beyond Evil i am triggering the malus of a char stat ("+","-") directly into a text string... i had to change the XASM command into LDA#"+" instead of LDA #'+' and everything was right... first i was searching for a bug in my code but when i reassembled it with XASM 3.0 i realised that its MADS... and i thought that they are compatible... ;)

25

(6 odpowiedzi, napisanych Scena - 8bit)

i am just using mads 1.7.4 (switched from XASM 3) because of the local labels... unfortunatly the docs are in polish only... how can i define local labels? i simply want to use local labels for local loops...

thanks for any help.