Jump to content
IGNORED

BLL macros for ca65


karri

Recommended Posts

Yesterday I tried to compile my 1k game ottelo on ca65. It turned to be a nightmare to port it as I keep using BLL macros in all my asm coding.

 

Start::	     
    START_UP
    CLEAR_MEM
    CLEAR_ZP +STACK
    ldx #$ff
    txs
    cld
    INITSUZY
    INITMIKEY
    INITIRQ irqs
    FRAMERATE 60
    SETIRQ 2,VBL
    cli

 

and

 

    lda length
  	 _WHILENE
	  txa
	  clc
	  adc step
	  tax
	  lda board,x
	  bit #$fe
	  _IFNE
	    rts
	  _ENDIF
	  cmp turn
	  _IFEQ
	    bra .check1
	  _ELSE
	    inc cnt
	  _ENDIF
	  dec length
    _WEND
    rts

 

Has anyone ported BLL to ca65 already? That would save me a lot of work.

 

--

Karri

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   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...