Jump to content
IGNORED

Question about session 9...sorry I am behind


Recommended Posts

First of all, I would like to thank everyone for help on my last question. I am now up and (mostly) running with things so far.

 

My trouble is with the sample kernel that we are supposed to test. When I copy it into a notepad file, save it as a .asm file, run dasm, and then put it in my Z26 to test, the screen is 80% right, with a column of wierd stuff one in from the left (imagine if you will, splitting the screen into 5 even colums starting from left to right, my second column in is "inverted"; the colors start dark and go light the other direction. I have not been able to get a screenshot of it. I will try on my work computer tomorrow, this was on my home computer).

 

Just wondering what I should be looking for, as far as casuse.

 

Thanks to all,

 

Cassdiy

Link to comment
Share on other sites

First of all, I would like to thank everyone for help on my last question.  I am now up and (mostly) running with things so far.

 

My trouble is with the sample kernel that we are supposed to test.  When I copy it into a notepad file, save it as a .asm file, run dasm, and then put it in my Z26 to test, the screen is 80% right, with a column of wierd stuff one in from the left (imagine if you will, splitting the screen into 5 even colums starting from left to right, my second column in is "inverted"; the colors start dark and go light the other direction.  I have not been able to get a screenshot of it. I will try on my work computer tomorrow, this was on my home computer).  

 

Just wondering what I should be looking for, as far as casuse.  

 

Thanks to all,

 

Cassdiy

 

 

 

This sounds like it's working correctly. The section of code I posted in the "help! sesson 8" request was the latest section of code at that stage, and we were playing with timing of things mid-scanline.

 

If you replace the 'picture' part of the code with the following, you should have a 'clean' display...

 


; 192 scanlines of picture... 



   ldx #0 

Picture 



   inx 

   stx COLUBK 



   sta WSYNC 



   cpx #192 

   bne Picture 

 

Cheers

A

Link to comment
Share on other sites

when I drop the kernel;.bin or test.bin file onto Z26, it loads, but only shows a black screen - the file assembles ok - I am I right in thinking the file will not be written if the code is incorrect??? :?

No, it will be written, but only partially.

 

How large exactly is your file? It should have 2048 or 4096 Bytes.

Link to comment
Share on other sites

they are all 0-kb - looks like i'm good at programming black screen shots :D - I didn't think it worked as dasm says

 

DASM V2.20.05, Macro Assembler ©1988-2003

START OF PASS: 1

warning: Unable to open 'kernel.asm'

 

then a table appears & it says complete & an empty .bin file is created. :x

 

:?: :x :?:

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...