Permalink
Browse files

8 line set wasn't using X for address

  • Loading branch information...
1 parent d6ba9f7 commit 104535b3c8c09791e5f9a8a312eaa6dc135d7e71 @hcs64 committed Jan 24, 2012
Showing with 7 additions and 8 deletions.
  1. +7 −8 newdlist.as
View
@@ -338,12 +338,6 @@ function cmd_set_lines()
add_command()
- lda cmd_addr+1
- sta dlist_data_0, X
- lda cmd_addr+0
- ora cmd_start
- sta dlist_data_1, X
-
ldy cmd_lines
lda cmd_set_lines_jmptab_0, Y
sta tmp_addr+0
@@ -356,7 +350,7 @@ function cmd_set_lines()
cmd_set_8_lines:
lda cmd_addr+0
- sta dlist_data_0
+ sta dlist_data_0, X
copy_byte_of_8(0)
copy_byte_of_8(1)
@@ -386,7 +380,12 @@ function cmd_set_lines()
cmd_set_1_line:
copy_byte(0)
-#tell.bankoffset
+ lda cmd_addr+1
+ sta dlist_data_0, X
+ lda cmd_addr+0
+ ora cmd_start
+ sta dlist_data_1, X
+
finalize_command_lines()
}

0 comments on commit 104535b

Please sign in to comment.