Skip to content

Commit

Permalink
All done for release of 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan committed May 1, 2024
1 parent 6152a3b commit ced7620
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Basic2/Windows/basic.c
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ const bworkfunction_t workfunctions[] PROGMEM = {
/* errors and messages */
const char mfile[] PROGMEM = "file.bas";
const char mprompt[] PROGMEM = "> ";
const char mgreet[] PROGMEM = "Stefan's Basic 2.0alpha";
const char mgreet[] PROGMEM = "Stefan's Basic 2.0";
const char mline[] PROGMEM = "LINE";
const char mnumber[] PROGMEM = "NUMBER";
const char mvariable[] PROGMEM = "VARIABLE";
Expand Down
13 changes: 9 additions & 4 deletions Basic2/Windows/runtime.c
Original file line number Diff line number Diff line change
Expand Up @@ -534,9 +534,14 @@ void wiringbegin() {
#endif
#ifdef POSIXPIGPIO
pigpio_pi=pigpio_start("localhost","8888");
printf("** GPIO started with result %d\n", pigpio_pi);
printf("** pigpio version %d.\n", get_pigpio_version(pigpio_pi));
printf("** Hardware revision %d.\n", get_hardware_revision(pigpio_pi));
if (pigpio_pi == 0) {
printf("GPIO started with result %d\n", pigpio_pi);
printf("pigpio version %d.\n", get_pigpio_version(pigpio_pi));
printf("Hardware revision %d.\n", get_hardware_revision(pigpio_pi));
} else {
printf("GPIO failed to start with result %d\n", pigpio_pi);
printf("** Does pigpiod run? ");
}
#endif
}

Expand Down Expand Up @@ -682,7 +687,7 @@ void vgabegin() {
printf("** error reading screen information \n");
return;
}
printf("** detected screen %dx%d, %dbpp \n", vinfo.xres, vinfo.yres, vinfo.bits_per_pixel);
printf("Detected screen %dx%d, %dbpp \n", vinfo.xres, vinfo.yres, vinfo.bits_per_pixel);

/* BASIC currently does 24 bit color only */
memcpy(&orig_vinfo, &vinfo, sizeof(struct fb_var_screeninfo));
Expand Down

0 comments on commit ced7620

Please sign in to comment.