asoft_presenter: initial GR support

it's on PAGE2 so printing doesn't work.

worried about screen holes
This commit is contained in:
Vince Weaver 2018-07-17 23:04:46 -04:00
parent 46c2db8e87
commit 3cce9b64d7
3 changed files with 46 additions and 1 deletions

View File

@ -139,6 +139,7 @@ struct footer_info {
#define SLIDE_HGR2 3
#define SLIDE_HGR_PLOT 4
#define SLIDE_NOCHANGE 5
#define GR_PLOT 6
#define MAX_SLIDES 89
@ -427,13 +428,38 @@ static void generate_slide(int num, int max, char*filename) {
print_til_eof(fff,&line_num);
}
else if (strstr(type,"GR")) {
printf("%d GR\n",line_num); line_num++;
while(1) {
result=fgets(string,BUFSIZ,fff);
if (result==NULL) break;
if ((string[0]=='#') || (string[0]=='\n')) {
continue;
}
break;
}
string[strlen(string)-1]='\0';
printf("%d PRINT CHR$(4);\"BLOAD %s,A$800\"\n",
line_num,string);
line_num++;
// C055, switch to page2
printf("%d POKE 49237,1\n",
line_num); line_num++;
/* print rest of stuff */
printf("%d VTAB 21\n",line_num); line_num++;
print_til_eof(fff,&line_num);
}
else if (strstr(type,"80COL")) {
}
else if (strstr(type,"40COL")) {
printf("%d TEXT:VTAB 1\n",line_num); line_num++;
printf("%d TEXT:HOME:VTAB 1\n",line_num);
line_num++;
print_til_eof(fff,&line_num);
}
else if (strstr(type,"NOCHANGE")) {

Binary file not shown.

View File

@ -0,0 +1,19 @@
40COL
%c%VMW Chiptune Player
* Finally got a Mockingboard card
* Fit 30+ mins of chiptune YM5 music
on a 140k floppy, 48k RAM
* Secret is LZ4 (thanks qkumba)
* Still bothersome sound quality
issues I have not resolved.
* Might be race condition, if so
the emulators aren't being faithful.
* Drives me nuts
* Demo it?