You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Line 113: if args.f == 'acme' or args.f == 'basic': file.write("$%02x" % best)
Writes to file: 10007 DATA $00,$00,$00,__$bc__,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
Pastes to BASIC: 10007 DATA $00,$00,$00,__$|-__,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
LIST outputs: 10007 DATA $00,$00,$00,__$__,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
Changing the string formatting to use capital-letter-X HEX formatting will fix output for BASIC, but I don't know if this will fix or break ACME: if args.f == 'acme' or args.f == 'basic': file.write("$%02X" % best)
I don't use ACME. Can someone verify and submit the best fix to keep this DRY?
Thanks.
The text was updated successfully, but these errors were encountered:
Robert-Lloyd3
changed the title
png2spirte produces lowercase hex that doesn't copy-paste into BASIC
png2sprite produces lowercase hex that doesn't copy-paste into BASIC
Nov 7, 2019
Line 113:
if args.f == 'acme' or args.f == 'basic': file.write("$%02x" % best)
Writes to file:
10007 DATA $00,$00,$00,__$bc__,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
Pastes to BASIC:
10007 DATA $00,$00,$00,__$|-__,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
LIST outputs:
10007 DATA $00,$00,$00,__$__,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
Changing the string formatting to use capital-letter-X HEX formatting will fix output for BASIC, but I don't know if this will fix or break ACME:
if args.f == 'acme' or args.f == 'basic': file.write("$%02X" % best)
I don't use ACME. Can someone verify and submit the best fix to keep this DRY?
Thanks.
The text was updated successfully, but these errors were encountered: