Re: A86: How to use Video Mem?


[Prev][Next][Index][Thread]

Re: A86: How to use Video Mem?



I wrote earlier:
> How do I display a picture on the screen that is written in binary 
> like
> %11111111
> %10000001
> %11111111
> 
> Please help me.
 
Now for more information.  I have the source code for nibbles and was 
wondering how they made the levels apper the have code like this:

level_data:
         .db      %00000000,%00000000,%00000000,%00000000
         .db      %00000000,%00000000,%00000000,%00000000
         .db      %00000000,%00000000,%00000000,%00000000
         .db      %00000000,%00000000,%00000000,%00000000
         .db      %00000000,%00000000,%00000000,%00000000
         .db      %00000000,%00000000,%00000000,%00000000
         .db      %00000000,%00000000,%00000000,%00000000
         .db      %00000000,%00000000,%00000000,%00000000
         .db      %00000000,%00000000,%00000000,%00000000
         .db      %00000000,%00000000,%00000000,%00000000
         .db      %00000000,%00000000,%00000000,%00000000
         .db      %00000000,%00000000,%00000000,%00000000
         .db      %00000000,%00000000,%00000000,%00000000
         .db      %00000000,%00000000,%00000000,%00000000
         .db      %00000000,%00000000,%00000000,%00000000
         .db      %00000000,%00000000,%00000000,%00000000

How do I make the levels appear if they are written like that?

Thanks,

Dann  


References: