New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Save as BASIC listing #14

Closed
Esshahn opened this Issue Jul 20, 2018 · 4 comments

Comments

Projects
None yet
2 participants
@Esshahn
Collaborator

Esshahn commented Jul 20, 2018

(Probably the top request I get for spritemate)

Save the file as BASIC listing with DATA statements

@nurpax nurpax added the enhancement label Jul 22, 2018

@nurpax nurpax modified the milestones: 0.1, 0.2 Jul 27, 2018

@Esshahn Esshahn modified the milestones: 0.2, 0.3 Aug 4, 2018

@nurpax nurpax referenced this issue Aug 5, 2018

Closed

Import/export settings handling #72

2 of 2 tasks complete
@nurpax

This comment has been minimized.

Show comment
Hide comment
@nurpax

nurpax Aug 8, 2018

Owner

BASIC export code added, needs a BASIC prolog that displays it on the screen with pokes.

Owner

nurpax commented Aug 8, 2018

BASIC export code added, needs a BASIC prolog that displays it on the screen with pokes.

@Esshahn

This comment has been minimized.

Show comment
Hide comment
@Esshahn

Esshahn Aug 9, 2018

Collaborator

Ok here we go (also as zip file):

I've taken your BASIC export as a base, but made some changes to make it work:

  • instead of a data loop, I set the border and background colors directly (lines 110,120).
  • lines 130 + 140 read and poke the screen ram
  • lines 170 + 180 read and poke the color ram
  • goto in line 199 prevents BASIC from advancing to the next line, thus destroying the image
  • all DATA statements should be lowercase and I split the data values into 20 per line. Reason: if you copy and paste this listing into VICE, it actually works - very handy way to work with BASIC code
  • you could use REM statements to add all kinds of comments, like the name of the file, the date etc

I think separating screen ram from colram in the data statements is a clean way to handle the data, but it uses two loops because of that. There would be another option to mix both like s0, c0, s1, c1, s2, c2 etc and by that reduce the loops by 1 and have the image appear in one pass only instead of screen and color as separate passes. wouldn't be faster though.

Hope that works for you, try to copy & paste the code below into VICE to see the result.

10 rem created with petmate
100 rem border and background
110 poke 53280,11
120 poke 53281,0
130 for i = 1024 to 1024 + 999
140 read a: poke i,a: next i
170 for i = 55296 to 55296 + 999
180 read a: poke i,a: next i
199 goto 199
200 rem screen ram
210 data 79,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69
220 data 69,69,69,69,69,69,69,69,95,160,223,95,160,223,95,160,223,69,69,80
230 data 84,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46
240 data 46,46,46,46,46,46,46,46,46,95,160,223,95,160,223,95,160,223,46,89
250 data 84,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46
260 data 46,46,46,46,46,46,46,46,95,160,223,95,160,223,95,160,223,89
270 data 84,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46
280 data 46,46,46,46,46,46,46,46,46,46,46,95,160,223,95,160,223,95,160,223
290 data 84,46,46,46,46,46,46,46,46,46,46,46,46,46,46,32,32,46,46,46
300 data 46,32,32,46,46,46,46,46,46,46,46,46,95,160,223,95,160,223,95,160
310 data 84,46,46,46,46,46,46,46,46,46,46,46,46,46,32,78,77,32,46,46
320 data 32,78,77,32,46,46,46,46,46,46,46,46,46,95,160,223,95,160,223,95
330 data 84,46,46,46,46,46,46,46,46,46,46,46,46,32,78,32,32,77,32,32
340 data 78,32,32,77,32,46,46,46,46,46,46,46,46,46,95,160,223,95,160,223
350 data 84,46,46,46,46,46,46,46,46,46,46,46,46,32,223,32,32,32,77,78
360 data 32,32,32,233,32,46,46,46,46,46,46,46,46,46,46,95,160,223,95,160
370 data 84,46,46,46,46,46,46,46,46,46,46,46,46,32,160,223,32,32,32
380 data 32,32,32,233,160,32,46,46,46,46,46,46,46,46,46,46,46,95,160,223,95
390 data 84,46,46,46,46,46,46,46,46,46,46,46,46,32,160,160,223,32,32
400 data 32,32,233,160,160,32,46,46,46,46,46,46,46,46,46,46,46,46,95,160,223
410 data 84,46,46,46,46,46,46,46,46,46,46,46,46,32,160,160,95,223,32
420 data 32,233,160,160,160,32,46,46,46,46,46,46,46,46,46,46,46,46,46,95,160
430 data 84,46,46,46,46,46,46,46,46,46,46,46,46,32,160,160,78,95,223
440 data 233,160,160,160,160,32,46,46,46,46,46,46,46,46,46,46,46,46,46,46,95
450 data 84,46,46,46,46,46,46,46,46,46,46,46,46,32,160,160,223,32,160
460 data 160,160,160,160,160,32,46,46,46,46,46,46,46,46,46,46,46,46,46,46,89
470 data 84,46,46,46,46,46,46,46,46,46,46,46,46,32,160,160,95,223,160
480 data 160,160,105,160,160,32,46,46,46,46,46,46,46,46,46,46,46,46,46,46,89
490 data 84,46,46,46,46,46,46,46,46,46,46,46,46,32,160,160,223,95,160
500 data 160,105,233,160,160,32,46,46,46,46,46,46,46,46,46,46,46,46,46,46,89
510 data 84,46,46,46,46,46,46,46,46,46,46,46,46,32,160,160,160,223,95
520 data 105,233,160,160,160,32,46,46,46,46,46,46,46,46,46,46,46,46,46,46,89
530 data 84,46,46,46,46,46,46,46,46,46,46,46,46,32,160,160,160,160,32
540 data 32,160,160,160,160,32,46,46,46,46,46,46,46,46,46,46,46,46,46,46,89
550 data 84,46,46,46,46,46,46,46,46,46,46,46,46,32,95,160,160,105,32
560 data 32,95,160,160,105,32,46,46,46,46,46,46,46,46,46,46,46,46,46,46,89
570 data 84,46,46,46,46,46,46,46,46,46,46,46,46,46,32,95,105,32,46,46
580 data 32,95,105,32,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,89
590 data 84,46,46,46,46,46,46,46,46,46,46,46,46,46,46,32,32,46,46,46
600 data 46,32,32,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,89
610 data 84,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46
620 data 46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,89
630 data 84,46,46,46,46,46,46,46,46,46,46,46,32,16,32,5,32,20,32,13
640 data 32,1,32,20,32,5,32,46,46,46,46,46,46,46,46,46,46,46,46,89
650 data 84,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46
660 data 46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,89
670 data 84,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46
680 data 46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,89
690 data 76,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82
700 data 82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,122
800 rem color ram
810 data 1,1,1,7,1,1,7,1,7,7,7,7,7,7,7,7,7,7,7,7,7
820 data 7,7,7,7,7,7,7,4,4,4,3,3,3,7,7,7,7,7,7
830 data 1,1,15,15,12,12,12,12,12,11,11,11,11,11,11,11,11
840 data 11,11,11,11,11,11,11,11,11,12,11,11,4,4,4,3,3,3,7,7,7,11,7
850 data 1,15,12,12,12,11,12,11,11,11,11,11,15,11,11,11,11,11
860 data 11,11,11,11,11,11,11,11,15,11,11,11,4,4,4,3,3,3,7,7,7,7
870 data 1,15,12,11,11,11,11,11,11,11,11,15,1,15,11,11,11,11,11
880 data 11,11,11,11,11,12,15,1,15,12,11,11,4,4,4,3,3,3,7,7,8
890 data 7,12,12,11,11,11,11,11,11,11,11,11,15,11,11,11,11,11,11
900 data 11,11,11,11,11,11,11,15,11,11,11,11,11,4,4,4,3,3,3,7,8
910 data 1,12,11,11,11,11,11,11,11,11,11,11,11,11,11,15,11,11,11
920 data 11,11,15,11,11,11,11,12,11,11,11,11,11,11,4,4,4,3,3,3,8
930 data 1,12,12,11,11,11,11,11,12,11,11,11,11,11,15,11,11,11,11
940 data 11,15,11,11,11,11,11,11,11,11,11,11,11,11,11,4,4,4,3,3,14
950 data 7,12,11,11,11,11,11,11,15,11,11,11,11,11,15,8,8,11,11,15
960 data 8,8,8,11,11,11,11,11,11,11,11,11,11,11,11,4,4,4,3,14
970 data 1,12,11,11,11,11,12,15,1,15,12,11,11,11,15,15,8,8,8,8,8
980 data 8,11,11,11,11,11,11,11,11,11,12,11,11,11,11,4,4,4,14
990 data 7,11,11,12,11,11,11,11,15,11,11,11,11,11,7,7,7,8,8,8,8
1000 data 8,8,8,11,11,11,11,11,11,11,15,11,11,11,11,11,4,4,11
1010 data 7,11,11,15,11,11,11,11,12,11,11,11,11,11,7,7,7,7,8,8,8
1020 data 8,8,8,11,11,11,11,11,12,15,1,15,12,11,11,11,11,4,11
1030 data 7,12,15,1,15,12,11,11,11,11,11,11,11,11,1,1,15,1,1,15
1040 data 15,15,15,15,11,11,11,11,11,11,11,15,11,11,11,11,11,15,11,11
1050 data 7,11,11,15,11,11,11,11,11,11,11,11,11,11,1,1,1,8,1,15,15
1060 data 15,15,15,11,11,11,11,11,11,11,12,11,11,11,11,15,1,15,7
1070 data 7,11,11,12,11,11,12,11,11,11,11,11,11,11,14,14,14,14,14
1080 data 6,6,6,6,6,11,11,11,11,11,11,11,11,11,11,11,11,11,15,11,7
1090 data 7,11,11,11,11,11,15,11,11,11,11,11,11,11,14,14,11,14
1100 data 14,6,6,14,6,6,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,7
1110 data 7,11,11,11,12,15,1,15,12,11,11,11,11,11,13,13,5,5,13
1129 data 5,13,13,5,5,11,11,11,15,11,11,11,11,11,11,11,12,11,11,11,7
1130 data 7,11,11,11,11,11,15,11,11,11,11,11,11,11,13,13,5,5
1140 data 1,15,13,13,5,5,11,12,15,1,15,12,11,11,11,11,11,15,11,11,11,7
1150 data 7,11,11,11,11,11,12,11,11,11,11,11,11,11,10,10,2,2,11
1160 data 11,10,10,2,2,11,11,11,15,11,11,11,11,11,12,15,1,15,12,11,8
1170 data 7,11,11,12,11,11,11,11,11,11,11,11,11,11,11,10,2,11,11
1180 data 11,11,10,2,11,11,11,11,12,11,11,11,11,11,11,11,15,11,11,11,7
1190 data 7,11,11,15,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11
1200 data 11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,12,11,11,11,8
1210 data 7,12,15,1,15,12,11,11,11,15,11,11,11,11,11,11,11,11,11
1220 data 11,11,11,11,11,11,11,11,11,11,11,11,15,11,11,11,11,11,11,11,8
1230 data 7,11,11,15,11,11,11,11,15,1,15,11,11,7,14,7,14,7,14,1
1240 data 14,1,14,1,14,1,11,11,11,12,15,1,15,12,11,11,11,11,11,7
1250 data 7,11,11,12,11,11,11,11,11,15,11,11,11,11,11,11,11,11,11
1260 data 11,11,11,11,11,11,11,11,11,11,11,11,15,11,11,11,11,11,11,11,8
1270 data 7,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11
1280 data 11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,8
1290 data 7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7
1300 data 7,7,7,7,7,7,7,7,7,7,7,7,8,7,8,8,7,8,8,8

basic-petscii-01.bas.zip

Collaborator

Esshahn commented Aug 9, 2018

Ok here we go (also as zip file):

I've taken your BASIC export as a base, but made some changes to make it work:

  • instead of a data loop, I set the border and background colors directly (lines 110,120).
  • lines 130 + 140 read and poke the screen ram
  • lines 170 + 180 read and poke the color ram
  • goto in line 199 prevents BASIC from advancing to the next line, thus destroying the image
  • all DATA statements should be lowercase and I split the data values into 20 per line. Reason: if you copy and paste this listing into VICE, it actually works - very handy way to work with BASIC code
  • you could use REM statements to add all kinds of comments, like the name of the file, the date etc

I think separating screen ram from colram in the data statements is a clean way to handle the data, but it uses two loops because of that. There would be another option to mix both like s0, c0, s1, c1, s2, c2 etc and by that reduce the loops by 1 and have the image appear in one pass only instead of screen and color as separate passes. wouldn't be faster though.

Hope that works for you, try to copy & paste the code below into VICE to see the result.

10 rem created with petmate
100 rem border and background
110 poke 53280,11
120 poke 53281,0
130 for i = 1024 to 1024 + 999
140 read a: poke i,a: next i
170 for i = 55296 to 55296 + 999
180 read a: poke i,a: next i
199 goto 199
200 rem screen ram
210 data 79,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69
220 data 69,69,69,69,69,69,69,69,95,160,223,95,160,223,95,160,223,69,69,80
230 data 84,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46
240 data 46,46,46,46,46,46,46,46,46,95,160,223,95,160,223,95,160,223,46,89
250 data 84,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46
260 data 46,46,46,46,46,46,46,46,95,160,223,95,160,223,95,160,223,89
270 data 84,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46
280 data 46,46,46,46,46,46,46,46,46,46,46,95,160,223,95,160,223,95,160,223
290 data 84,46,46,46,46,46,46,46,46,46,46,46,46,46,46,32,32,46,46,46
300 data 46,32,32,46,46,46,46,46,46,46,46,46,95,160,223,95,160,223,95,160
310 data 84,46,46,46,46,46,46,46,46,46,46,46,46,46,32,78,77,32,46,46
320 data 32,78,77,32,46,46,46,46,46,46,46,46,46,95,160,223,95,160,223,95
330 data 84,46,46,46,46,46,46,46,46,46,46,46,46,32,78,32,32,77,32,32
340 data 78,32,32,77,32,46,46,46,46,46,46,46,46,46,95,160,223,95,160,223
350 data 84,46,46,46,46,46,46,46,46,46,46,46,46,32,223,32,32,32,77,78
360 data 32,32,32,233,32,46,46,46,46,46,46,46,46,46,46,95,160,223,95,160
370 data 84,46,46,46,46,46,46,46,46,46,46,46,46,32,160,223,32,32,32
380 data 32,32,32,233,160,32,46,46,46,46,46,46,46,46,46,46,46,95,160,223,95
390 data 84,46,46,46,46,46,46,46,46,46,46,46,46,32,160,160,223,32,32
400 data 32,32,233,160,160,32,46,46,46,46,46,46,46,46,46,46,46,46,95,160,223
410 data 84,46,46,46,46,46,46,46,46,46,46,46,46,32,160,160,95,223,32
420 data 32,233,160,160,160,32,46,46,46,46,46,46,46,46,46,46,46,46,46,95,160
430 data 84,46,46,46,46,46,46,46,46,46,46,46,46,32,160,160,78,95,223
440 data 233,160,160,160,160,32,46,46,46,46,46,46,46,46,46,46,46,46,46,46,95
450 data 84,46,46,46,46,46,46,46,46,46,46,46,46,32,160,160,223,32,160
460 data 160,160,160,160,160,32,46,46,46,46,46,46,46,46,46,46,46,46,46,46,89
470 data 84,46,46,46,46,46,46,46,46,46,46,46,46,32,160,160,95,223,160
480 data 160,160,105,160,160,32,46,46,46,46,46,46,46,46,46,46,46,46,46,46,89
490 data 84,46,46,46,46,46,46,46,46,46,46,46,46,32,160,160,223,95,160
500 data 160,105,233,160,160,32,46,46,46,46,46,46,46,46,46,46,46,46,46,46,89
510 data 84,46,46,46,46,46,46,46,46,46,46,46,46,32,160,160,160,223,95
520 data 105,233,160,160,160,32,46,46,46,46,46,46,46,46,46,46,46,46,46,46,89
530 data 84,46,46,46,46,46,46,46,46,46,46,46,46,32,160,160,160,160,32
540 data 32,160,160,160,160,32,46,46,46,46,46,46,46,46,46,46,46,46,46,46,89
550 data 84,46,46,46,46,46,46,46,46,46,46,46,46,32,95,160,160,105,32
560 data 32,95,160,160,105,32,46,46,46,46,46,46,46,46,46,46,46,46,46,46,89
570 data 84,46,46,46,46,46,46,46,46,46,46,46,46,46,32,95,105,32,46,46
580 data 32,95,105,32,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,89
590 data 84,46,46,46,46,46,46,46,46,46,46,46,46,46,46,32,32,46,46,46
600 data 46,32,32,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,89
610 data 84,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46
620 data 46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,89
630 data 84,46,46,46,46,46,46,46,46,46,46,46,32,16,32,5,32,20,32,13
640 data 32,1,32,20,32,5,32,46,46,46,46,46,46,46,46,46,46,46,46,89
650 data 84,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46
660 data 46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,89
670 data 84,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46
680 data 46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,89
690 data 76,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82
700 data 82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,122
800 rem color ram
810 data 1,1,1,7,1,1,7,1,7,7,7,7,7,7,7,7,7,7,7,7,7
820 data 7,7,7,7,7,7,7,4,4,4,3,3,3,7,7,7,7,7,7
830 data 1,1,15,15,12,12,12,12,12,11,11,11,11,11,11,11,11
840 data 11,11,11,11,11,11,11,11,11,12,11,11,4,4,4,3,3,3,7,7,7,11,7
850 data 1,15,12,12,12,11,12,11,11,11,11,11,15,11,11,11,11,11
860 data 11,11,11,11,11,11,11,11,15,11,11,11,4,4,4,3,3,3,7,7,7,7
870 data 1,15,12,11,11,11,11,11,11,11,11,15,1,15,11,11,11,11,11
880 data 11,11,11,11,11,12,15,1,15,12,11,11,4,4,4,3,3,3,7,7,8
890 data 7,12,12,11,11,11,11,11,11,11,11,11,15,11,11,11,11,11,11
900 data 11,11,11,11,11,11,11,15,11,11,11,11,11,4,4,4,3,3,3,7,8
910 data 1,12,11,11,11,11,11,11,11,11,11,11,11,11,11,15,11,11,11
920 data 11,11,15,11,11,11,11,12,11,11,11,11,11,11,4,4,4,3,3,3,8
930 data 1,12,12,11,11,11,11,11,12,11,11,11,11,11,15,11,11,11,11
940 data 11,15,11,11,11,11,11,11,11,11,11,11,11,11,11,4,4,4,3,3,14
950 data 7,12,11,11,11,11,11,11,15,11,11,11,11,11,15,8,8,11,11,15
960 data 8,8,8,11,11,11,11,11,11,11,11,11,11,11,11,4,4,4,3,14
970 data 1,12,11,11,11,11,12,15,1,15,12,11,11,11,15,15,8,8,8,8,8
980 data 8,11,11,11,11,11,11,11,11,11,12,11,11,11,11,4,4,4,14
990 data 7,11,11,12,11,11,11,11,15,11,11,11,11,11,7,7,7,8,8,8,8
1000 data 8,8,8,11,11,11,11,11,11,11,15,11,11,11,11,11,4,4,11
1010 data 7,11,11,15,11,11,11,11,12,11,11,11,11,11,7,7,7,7,8,8,8
1020 data 8,8,8,11,11,11,11,11,12,15,1,15,12,11,11,11,11,4,11
1030 data 7,12,15,1,15,12,11,11,11,11,11,11,11,11,1,1,15,1,1,15
1040 data 15,15,15,15,11,11,11,11,11,11,11,15,11,11,11,11,11,15,11,11
1050 data 7,11,11,15,11,11,11,11,11,11,11,11,11,11,1,1,1,8,1,15,15
1060 data 15,15,15,11,11,11,11,11,11,11,12,11,11,11,11,15,1,15,7
1070 data 7,11,11,12,11,11,12,11,11,11,11,11,11,11,14,14,14,14,14
1080 data 6,6,6,6,6,11,11,11,11,11,11,11,11,11,11,11,11,11,15,11,7
1090 data 7,11,11,11,11,11,15,11,11,11,11,11,11,11,14,14,11,14
1100 data 14,6,6,14,6,6,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,7
1110 data 7,11,11,11,12,15,1,15,12,11,11,11,11,11,13,13,5,5,13
1129 data 5,13,13,5,5,11,11,11,15,11,11,11,11,11,11,11,12,11,11,11,7
1130 data 7,11,11,11,11,11,15,11,11,11,11,11,11,11,13,13,5,5
1140 data 1,15,13,13,5,5,11,12,15,1,15,12,11,11,11,11,11,15,11,11,11,7
1150 data 7,11,11,11,11,11,12,11,11,11,11,11,11,11,10,10,2,2,11
1160 data 11,10,10,2,2,11,11,11,15,11,11,11,11,11,12,15,1,15,12,11,8
1170 data 7,11,11,12,11,11,11,11,11,11,11,11,11,11,11,10,2,11,11
1180 data 11,11,10,2,11,11,11,11,12,11,11,11,11,11,11,11,15,11,11,11,7
1190 data 7,11,11,15,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11
1200 data 11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,12,11,11,11,8
1210 data 7,12,15,1,15,12,11,11,11,15,11,11,11,11,11,11,11,11,11
1220 data 11,11,11,11,11,11,11,11,11,11,11,11,15,11,11,11,11,11,11,11,8
1230 data 7,11,11,15,11,11,11,11,15,1,15,11,11,7,14,7,14,7,14,1
1240 data 14,1,14,1,14,1,11,11,11,12,15,1,15,12,11,11,11,11,11,7
1250 data 7,11,11,12,11,11,11,11,11,15,11,11,11,11,11,11,11,11,11
1260 data 11,11,11,11,11,11,11,11,11,11,11,11,15,11,11,11,11,11,11,11,8
1270 data 7,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11
1280 data 11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,8
1290 data 7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7
1300 data 7,7,7,7,7,7,7,7,7,7,7,7,8,7,8,8,7,8,8,8

basic-petscii-01.bas.zip

@Esshahn Esshahn assigned nurpax and unassigned Esshahn Aug 9, 2018

nurpax added a commit that referenced this issue Aug 9, 2018

@nurpax

This comment has been minimized.

Show comment
Hide comment
@nurpax

nurpax Aug 9, 2018

Owner

Thanks @Esshahn, works beautifully.

Perhaps BASIC export is one of those features where we always a) export the current screen only and b) unconditionally export display code? IOW, no need to popup a settings modal for this export format?

If yes, this is can be closed.

Owner

nurpax commented Aug 9, 2018

Thanks @Esshahn, works beautifully.

Perhaps BASIC export is one of those features where we always a) export the current screen only and b) unconditionally export display code? IOW, no need to popup a settings modal for this export format?

If yes, this is can be closed.

@Esshahn

This comment has been minimized.

Show comment
Hide comment
@Esshahn

Esshahn Aug 9, 2018

Collaborator

I agree, let's not waste too much time anticipating what some users might want. If that feature is well received, we will learn what the next increments should be. +1 closing

Collaborator

Esshahn commented Aug 9, 2018

I agree, let's not waste too much time anticipating what some users might want. If that feature is well received, we will learn what the next increments should be. +1 closing

@nurpax nurpax closed this Aug 9, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment