Open mobluse opened 3 years ago
Works for me on the current ROM master.
But it looks like you run x16emu. I run cbmbasic downloaded from here and compiled and tested in Raspberry Pi OS (most upgraded) today. Should I get a ROM from somewhere else?
git clone https://github.com/mist64/cbmbasic/
cd cbmbasic/
make
sudo mv cbmbasic /usr/bin/
cbmbasic
**** COMMODORE 64 BASIC V2 ****
64K RAM SYSTEM 38911 BASIC BYTES FREE
READY.
LOAD"OPEN10TEST.PRG",8
LOADING FROM $0801 to $0839
READY.
LIST
10 OPEN1,0
20 PRINT"NAME: ";
30 INPUT#1,A$
40 PRINT:PRINT"NAME = ";A$
READY.
RUN
?MISSING FILE NAME ERROR IN 10
READY.
Hahahaha, I'm the best! I got this notification, and I confused X16 and cbmbasic! :D :D
Yup, this is a problem with the KERNAL emulation in C.
A line with
OPEN 1,0
gives an error: "?MISSING FILE NAME ERROR IN", but doesn't give an error in VIC20, C64, or Commander X16.This is used to INPUT#1,A$ a string from keyboard without showing a prompt ("? ").
https://retrocomputing.stackexchange.com/questions/4883/c64-basic-how-to-suppress-the-sign-when-using-the-input-command