Skip to content
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

OPEN 1,0 gives an error: "?MISSING FILE NAME ERROR IN" #13

Open
mobluse opened this issue Mar 26, 2021 · 3 comments
Open

OPEN 1,0 gives an error: "?MISSING FILE NAME ERROR IN" #13

mobluse opened this issue Mar 26, 2021 · 3 comments

Comments

@mobluse
Copy link

mobluse commented Mar 26, 2021

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

@mist64
Copy link
Owner

mist64 commented Mar 28, 2021

Works for me on the current ROM master.

Screenshot 2021-03-28 at 11 40 44

@mobluse
Copy link
Author

mobluse commented Mar 29, 2021

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.

@mist64
Copy link
Owner

mist64 commented Apr 5, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants