Jump to content

DASM and ASL LSR ROL compile errors


Cafeman

278 views

I got my first clean compile in DASM for Detective Powers 5200.   I had started it a while back using the 6502 assembler called TASM, which is what I used for 5200 / XE Adventure II.  But I wanted to start using the most recent DASM 6502 compiler.   Many of the code formatting changes were straight forward to see the problem and easily change, but I spent some time trying to figure out why I kept getting unresolved symbols on "A" and "a".  I'm not sure if DASM can be configured to show me the line in question causing the error. Instead it basically produces a summary of all the labels / subroutines / variables that are referenced but don't exist.   

 

The TASM assembler allows , or requires you can use the accumulator ("A") with these:   "ASL A", or "LSR A", or "ROL A".   These were the statements causing DASM to complain, but DASM just says that "A" or "a" aren't recognized, so I had to spend some time before I got it.  There were several statements that needed the accumulator removed, but it just gives 1 error. That also confused me.  

 

871820644_DASM1stcleancompile01012023.thumb.png.a5a7630d541b17b987231dcbe8e7875d.png

 

Next step is to be able to go from a simple Title Screen , allow Start to be pressed, and load a London city Antic4 screen, without abending. 

 

207050593_Cleancompilescreenshotproof01012023.png.62295c09f673d711505d6bbaace6e6d8.png

 

(_)3

0 Comments


Recommended Comments

There are no comments to display.

Guest
Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

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