[atari7800] Re: Mode 160B don't works for me...

  • From: "Dan Boris" <dboris@xxxxxxxxxxx>
  • To: <atari7800@xxxxxxxxxxxxx>
  • Date: Sun, 31 Oct 2004 12:40:58 -0500

Ignore what I said about Indirect mode, I took a closer look and what
you are doing is correct. 

But looking at you DL entries I do see a couple problems:


                Align 16                         ;$1850
                .byte   $50,%11000000,$80,%10000001,0     ;DL for the
NTSL/PAL text
                .byte   $70,%11000000,$80,%10000001,64
                .byte   $90,%11000000,$80,%100001001,128
                .byte   $00,$00

The third line has "%100001001", I think there is an extra digit there
since that's 9 bits.

The second problem I believe is with the Width part of the entry. I
don't think 0 is valid for a Width. If you try 1 (which is the 2's
complement of 31) you actually get something on the screen.

Dan

> -----Original Message-----
> From: atari7800-bounce@xxxxxxxxxxxxx 
> [mailto:atari7800-bounce@xxxxxxxxxxxxx] On Behalf Of Dan Boris
> Sent: Sunday, October 31, 2004 12:10 PM
> To: atari7800@xxxxxxxxxxxxx
> Subject: [atari7800] Re: Mode 160B don't works for me...
> 
> 
> Got it, needed a newer version of DASM.
> 
> I spotted one problem already, you DL's are all using character
> (indirect) mode, I don't think you intended to do this. You 
> DL's should be like this:
> 
>   .byte   $05,$40,$18,$04,00     ;DL for the NTSL/PAL text
> 
> Second byte is $40 for direct mode instead of $60 for indirect mode.
> 
> Dan
> 
> > -----Original Message-----
> > From: atari7800-bounce@xxxxxxxxxxxxx
> > [mailto:atari7800-bounce@xxxxxxxxxxxxx] On Behalf Of Manuel 
> Rotschkar
> > Sent: Sunday, October 31, 2004 10:04 AM
> > To: atari7800@xxxxxxxxxxxxx
> > Subject: [atari7800] Re: Mode 160B don't works for me...
> > 
> > 
> > Hi there!
> > 
> > > What assembler are you using?
> > 
> > DASM V2.20.04
> > 
> > > DASM doesn't understand
> > > incbin  roguesword.bmp
> > 
> > Hm... maybe try an 8.3 filename?
> > 
> > Greetings,
> >     Manuel
> > 
> 
> 


Other related posts: