~rabbits/lin6

6f5ac0e6cce46545ac8556594aa2864f695b8972 — Devine Lu Linvega 11 months ago dde1868
*
2 files changed, 15 insertions(+), 12 deletions(-)

M lin6.c
M linted.asm
M lin6.c => lin6.c +6 -3
@@ 332,9 332,9 @@ dodirective(char* src)
	setval(src, val);
	setcmt(src, cmt);
	if(slen(cmt) > 1)
		printf("\t%s %-28s %s\n", key, val, cmt);
	else
		printf("\t%s %s %s\n", key, val, cmt);
	else
		printf("\t%s %s\n", key, val);
	skipped = 0;
}



@@ 346,7 346,10 @@ dovariable(char* src)
	slca(key);
	setval(src, val);
	setcmt(src, cmt);
	printf("\t%-23s %-10s %s\n", key, val, cmt);
	if(slen(cmt) > 1)
		printf("\t%-23s %-10s %s\n", key, val, cmt);
	else
		printf("\t%-23s %s\n", key, val);
	skipped = 0;
}


M linted.asm => linted.asm +9 -9
@@ 1,10 1,10 @@

;; Variables

	.enum $0000                        ; Directive comment
	.enum $0000 ; Directive comment
	pos_x                   .dsb 1     ; Variable comment
	pos_y                   .dsb 1     
	.ende  
	pos_y                   .dsb 1
	.ende 

;; Constants



@@ 35,12 35,12 @@ CheckCollision: ; Routine comment
;; Tables

Table: 
	.db $40,$46,$4c,$52,$58,$5e,$63,$68 
	.db $40,$46,$4c,$52,$58,$5e,$63,$68

;; Vectors

	.pad $FFFA 
	.dw NMI 
	.dw RESET 
	.dw 0 
	.incbin "src/sprite.chr" 
	.pad $FFFA
	.dw NMI
	.dw RESET
	.dw 0
	.incbin "src/sprite.chr"