Re: [cc65] da65: jsr print / .byte "HELLO"

From: MagerValp <MagerValp1cling.gu.se>
Date: 2007-05-25 15:34:02
>>>>> "D" == Dan  <opendtv@yahoo.com> writes:

D> I made a quick hack to da65 to handle calls of the
D> form:
D> jsr imm_print
D> .byte "HELLO WORLD"
D> .byte 0
D> ;...code continues...

D> Maybe it will save someone else the trouble, or the concept can be
D> implemented in some future version of da65.

It would've saved me some trouble, but it's too late :). My solution
was an external program that scans for calls and outputs da65 control
statements:

  usage: findprimm <address> <endmask> <endeor> <endbits> <files>

I had to make the end condition configurable seemed, as one routine
used MSB set to terminate instead of $00. 

-- 
    ___          .     .  .         .       . +  .         .      o   
  _|___|_   +   .  +     .     +         .  Per Olofsson, arkadspelare
    o-o    .      .     .   o         +          MagerValp@cling.gu.se
     -       +            +    .     http://www.cling.gu.se/~cl3polof/
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Fri May 25 15:34:12 2007

This archive was generated by hypermail 2.1.8 : 2007-05-25 15:34:14 CEST