I'm posting this because it would like some advice on how to make it better. Did I miss any useful commands? Can it be crunched or made faster? I want it to stay basic so I can make quick project-specific changes. Also must stay unexpanded.
Here's a DOWNLOAD and screenshot:
It had loads of features. I added a string tip as suggested by Mike to improve the speed of drawing the screen.
Current Limitations:
For memory limitations, I made vertical and horizontal scrolling 1 directional. I am ok with this, but if there's a simple, efficient way to have both directions, that would be great.
I would like to improve the R90 and SPN commands for speed. Each take about 3 seconds to complete. Is there a faster way?
R90 - rotate character 90 degrees. (cannot be undone because of memory limits)
Code: Select all
46 POKEU,124:J=128:FORI=.TO7:A(I)=.:Y=128:FORT=.TO7:L=PEEK(7-T+V+8*X)
47 A(I)=A(I)+Y*-((LANDJ)=J):Y=Y/2:NEXT:J=J/2:NEXT:FORT=.TO7:POKET+V+8*X,A(T):NEXT:GOTO35
Code: Select all
48 GOSUB58:FORT=.TO7:J=128:Y=.:FORI=.TO7:Y=Y-2^I*((A(T)ANDJ)=J):J=J/2:NEXT:POKEL+T,Y:NEXT:GOTO35
ALL - Shift A clears characters. You should do this to start.
Cursor Keys - browse character set (the up/down key moves the selector left, the left/right key moves the selector right, Shift/C=/CRTL allow you to skip characters for faster selection)
1DB - puts selected character on drawing board 1, joystick editable
2DB - puts selected character on drawing board 2, this is for holding a character outside of memory for comparison or maintain an original before editing
F1C - changes character color. Hold Shift to use Multicolor mode.
ENT - enter data for current line
UND - undo changes, only works when character is selected.
PLY - treats data as music notes (something I often do in games)
SWP - swaps character on drawing board with browser
OVW - toggles overwrite and replace mode for drawing board
EXT - gives you the option to save the set for future editing. Just edit and enter the given line.