Recent posts

#41
General chat / Video and pictures from the Ar...
Last post by RobertB - August 29, 2025, 02:45 AM
Kingston University had an 8-day show featuring retro computers and game machines from 1977 to 1993.  Included were Commodores and an Amiga.  To see the walk-through video, go to

https://youtu.be/L65elNurypU

To see photos, go to

http://blog.retro-link.com/2025/08/photos-of-archive-of-retro-computing.html

and

http://blog.retro-link.com/2025/08/photos-of-archive-of-retro-computing_28.html

Truly,
Robert Bernardo
Fresno Commodore User Group - http://www.dickestel.com/fcug.htm
Southern California Commodore & Amiga Network - http://www.portcommodore.com/sccan
#42
C / Other / Oscar64 C128 Menu Sample
Last post by Blacklord - August 22, 2025, 06:42 AM
/*
C128 Menu Example in C

File: menu.c
Author: Micha B 08/2025

Compiler: Oscar64
Compile me:
oscar64 -v -i=include -tm=c128 -O2 -dNOFLOAT -dHEAPCHECK menu.c
*/

#include <stdio.h>
#include <stdlib.h>
#include <conio.h>
#include <petscii.h>
#include <stdbool.h>
#include <ctype.h>

/* --- Global variables --- */
char c_choice = 0;

/* --- Function prototypes --- */
void draw_menu(void);
bool f_quit(void);
bool f_opt1(void);
bool f_opt2(void);
bool f_opt3(void);
bool f_opt4(void);

/* --- Draw a text menu --- */
void draw_menu(void)
{
putpch(147); // SCNCLR
printf("\x05================================\n"); // text color: White
printf("  C128 Menu Example\n");
printf("  -----------------\n");
printf("  (1) Option 1    (2) Option 2\n");
printf("  (3) Option 3    (4) Option 4\n");
printf("  (0) Quit\n");
printf("================================\n");
printf("\x1EChoice:\x05 "); // switch to text color green, than back to white
}

/* --- React on user's demand to quit --- */
bool f_quit(void)
{
char c_answer = 'n';

puts("Quit requested!\n\n");
puts("Do you realy want to quit (Y/n)? ");

c_answer = getpch();
if ( ((int) c_answer == 89)  || ((int) c_answer == 217)  )
return (false);
else
return(true);
}

/* --- React on option 1 --- */
bool f_opt1(void)
{
puts("Option 1 requested.\n\n");
puts(" Press a key to CONTINUE... ");
getpch(); // wait for key pressed
return(true);
}

/* --- React on option 2 --- */
bool f_opt2(void)
{
puts("Option 2 requested.\n\n");
puts(" Press a key to CONTINUE... ");
getpch(); // wait for key pressed
return(true);
}

/* --- React on option 3 --- */
bool f_opt3(void)
{
puts("Option 3 requested.\n\n");
puts(" Press a key to CONTINUE... ");
getpch(); // wait for key pressed
return(true);
}

/* --- React on option 4 --- */
bool f_opt4(void)
{
puts("Option 4 requested.\n\n");
puts(" Press a key to CONTINUE... ");
getpch(); // wait for key pressed
return(true);
}


/*  --- Main program --- */
int main(void)
{
bool running = true;

/* --- Prepare the environment --- */
// Switch display mode to lower case petscii
// could also be done by iocharmap(IOCHM_PETSCII_2);
putpch(14); // switch to charmap 2
putpch(8);     // lock Charmap selector key

while (running)
{
draw_menu();
c_choice = getpch();

/* --- Select options --- */
switch(c_choice)
{
case '0':
running = f_quit();
break;
case '1':
running = f_opt1();
break;
case '2':
running = f_opt2();
break;
case '3':
running = f_opt3();
break;
case '4':
running = f_opt4();
break;
default:
draw_menu();
}
}
puts("\n\nProgram terminated.\n");
putpch(9); // unlock charmap selector key
putpch(142); // switch back to charmap 1
return 0;
}
#43
Commodore 64 hardware / SX-64 keyboard cables from Ray...
Last post by RobertB - July 24, 2025, 03:11 PM
In the past, C= repair tech Ray Carlsen sold a ribbon-type cable to replace an SX-64 keyboard cable. Now he sells replica SX-64 cables which are a close match to the original ones! To see both cables for sale, go to

https://portcommodore.com/rcarlsen/cables.html

and go to the bottom of the page.

Truly,
Robert Bernardo
Fresno Commodore User Group - http://www.dickestel.com/fcug.htm
Southern California Commodore & Amiga Network - http://www.portcommodore.com/sccan
#44
General chat / Re: Pictures and video from Pa...
Last post by RobertB - July 17, 2025, 11:34 AM
    Ah, the last set of videos from the Pacific Commodore Expo NW!  Go to

Owens and Commodore Business Machines -  PaCommEx 2025

https://youtu.be/v_EHXUzDUkk

Bernardo and the AmigaOne A1222+ (redux) - PaCommEx 2025

https://youtu.be/pS0fbucjNtM

        Truly,
        Robert Bernardo
        organizer - Pacific Commodore Expo NW
        http://www.portcommodore.com/pacommex
#45
General chat / Re: Pictures and video from Pa...
Last post by RobertB - July 11, 2025, 09:24 AM
    Another set of Pacific Commodore Expo NW videos!  This time they are

Innocenti and his SAM440ep - PaCommEx 2025

https://youtu.be/8hqPKArnyNI

Innocenti and the VCF South - PaCommEx 2025

https://youtu.be/ZPq4xYWWK8s

          Truly,
          Robert Bernardo
          organizer - Pacific Commodore Expo Nw
#46
General chat / Re: Pictures and video from Pa...
Last post by RobertB - July 10, 2025, 10:15 AM
    Pacific Commodore Expo NW video-uploading has resumed!  The latest videos are

Jones, C64OS, and TeensyROM - PaCommEx 2025

https://youtu.be/krB2r2TeFdA

Bernardo and AmigaOS 4 demos, part 2 - PaCommEx 2025

https://youtu.be/YqPtgxJP6OU

        Truly,
        Robert Bernardo
        organizer - Pacific Commodore Expo NW
        http://www.portcommodore.com/pacommex
#47
General chat / Interim Computer Museum photos
Last post by RobertB - July 06, 2025, 10:13 AM
    Take a look at the many computers I photographed a few weeks ago at the Interim Computer Museum in Tukwila, Washington, USA!  https://icm.museum/  And a few of the computers are Commodore and Amiga!  Part 1 starts at

http://blog.retro-link.com/2025/07/interim-computer-museum-exhibit-and.html

and there is a link there to Part 2 of the pics.

          Truly,
          Robert Bernardo
          Fresno Commodore User Group
          Southern California Commodore & Amiga Network
#48
General chat / Re: Pictures and video from Pa...
Last post by RobertB - June 30, 2025, 01:08 PM
    Check out more Pacific Commodore Expo NW 2025 photos at

http://blog.retro-link.com/2025/06/more-pictures-from-pacommex-2025.html

    and the second PaCommEx video to be posted --

Katie and her MIDI wind Instrument, Round 2 - PaCommEx 2025

https://youtu.be/bBozWaGuqMI

          Truly,
          Robert Bernardo
          organizer - Pacific Commodore Expo NW
          http://www.portcommodore.com/pacommex
#49
General chat / Pictures and video from PaComm...
Last post by RobertB - June 28, 2025, 11:54 AM
    Bernie Innocenti, programmer and attendee to the Pacific Commodore Expo NW 2025, has provided the first photos and video of the expo.  Go to

http://blog.retro-link.com/2025/06/first-pictures-and-videos-from-pacommex.html

There is a link in the above page to the Youtube video.

          More PaCommEx media to come,
          Robert Bernardo
          organizer - Pacific Commodore Expo 2025
          http://www.portcommodore.com/pacommex
#50
News, views, help & info / SMF Upgrade to 2.1.5
Last post by Blacklord - June 28, 2025, 07:15 AM
We'll be upgrading the forum software next weekend - there will be a short outage.
The changes for this version are:
PHP Support
* Raises the minimum supported PHP version from 7.0 to 7.1.
* Adds support for PHP 8.4.
User Profiles
* Fixes errors when profile fields using the "nohtml" mask are given values with Unicode characters or quotation marks.
* Adds a new, separate permission for using Gravatars.
Attachments
* Several fixes and improvements for the attachment upload UI.
* Sets Content-Disposition header correctly for attachments for mobile browsers.
* Improves handling of SVG image attachments
* Adds support for WEBP images.
Editor and BBCode
* The "Quote Selected Text" button is now more tolerant of "messy" selection ranges.
* Shows "Last Edit" info (if applicable) when editing a post.
* Improves smileys popup behavior.
* Improves image quality of previews for embedded attachments in the WYSIWYG editor.
* Fixes bugs in a few edge cases when parsing BBCode.
* Centers BBCode tables wrapped in the center BBCode.
* Fixes PHP syntax highlighting in BBCode under PHP 8.3+.
* Fixes issues with broken HTML entities in warning templates.
Calendar
* Shows multiple calendar events on the same day correctly.
Search
* Fixes undefined variable error in custom search API.
* Fixes a bug where the last character of a Unicode search term could be mangled.
* Returns correct search results when post moderation is enabled.
Email
* Notification emails always use display names, never usernames.
* Improved handling of SMTP errors when sending emails.
* Fixes a bug where undeliverable emails might never clear from the mail queue.
* Accepts wildcards in email-based ban triggers.
Admin
* Updates Unicode data files in a background task. (This ensures the forum will always have up-to-date support for the latest emojis and such.)
* Fixes bug where rearranging boards in the admin center could cause some boards to temporarily not be shown.
Other
* Fixes errors in RSS feeds for messages by members with commas in their usernames.
* Fixes the integrate_error_types integration hook.
* Fixes the integrate_attachments_browse integration hook.
* Fixes open_basedir warnings in PHP 8.
* Fixes some minor UI bugs.