'Direct Statement in file' Error on MSX 2 (General discussion MSX Fora)MSX Resource Center            
            
English Nederlands Espa�ol Portugu�s Russian         
 Nieuws
   Voorpagina
  Nieuws archief
  Nieuws onderwerpen

 Informatie
   MSX Fora
  Artikelen
  Recensies
  Beursverslagen
  Fotoreportages
  Beurzen en meetings
  Enquêtes
  Links
  Zoek

 Software
   Downloads
  Webshop

 MRC
   Wie we zijn
  Kom bij ons team
  Doneren
  Policies
  Contact met het MRC
  Link naar Ons
  Statistieken

 Zoek
 
  

  

 Login
 

Gebruikersnaam

Wachtwoord




Ben je nog niet lid? Klik hier en word MSX vriend!


 Statistieken
 

Er zijn 51 gasten en 1 MSX vriend online

Je bent een anonieme bezoeker.
 

MSX Fora


MSX Fora

General discussion - 'Direct Statement in file' Error on MSX 2

Schrijver

'Direct Statement in file' Error on MSX 2

Reinald Nijboer
msx friend
Berichten: 1
Geplaatst: 10 Juni 2002, 20:39   
I've downloaded 'Chuckie Egg' for an MSX.



On the disk 'Diskmanager' created is a file named 'Chuckie.bin' loacated



is i look on the source in Chuckie.bas there is a single line



10 Bload "Chuckie.bin",R



When running this code, i'll get the 'Direct Statement in file' error.



Can someone help me?



Reinald Nijboer (The Netherlands)
Latok
msx master
Berichten: 1732
Geplaatst: 16 Juni 2002, 17:41   
Strange, should work fine...



Try to bload the bin file directly from your basic prompt, so not booting the BAS file.....

It shouldn't be of any difference, but hey, give it a try...
Latok
msx master
Berichten: 1732
Geplaatst: 24 Augustus 2004, 20:49   
How wonderful it is we now know diskmanager doesn't set the archive bit in files, which leads to Direct Statements in Files....This is my life progression in 2 years
IC
msx professional
Berichten: 538
Geplaatst: 25 Augustus 2004, 12:21   
o.O

a direct statment in file is usually a BASIC program withouth a basic line in it (like: 10 print "hello world" but without the 10).
Never seen this behaviour with binary file though
GuyveR800
msx guru
Berichten: 3048
Geplaatst: 25 Augustus 2004, 13:16   
IC, read what Latok said
The cause is a major bug in Diskmanager.
IC
msx professional
Berichten: 538
Geplaatst: 25 Augustus 2004, 14:01   
I read the thing, but I thought I had to post that remark cauz I never used Diskmanager, and I haven't seen such behaviour before...

JP 25-08-2004 12:21

legacy
msx professional
Berichten: 516
Geplaatst: 25 Augustus 2004, 14:04   
Now my question.
How can we repair this?
IC
msx professional
Berichten: 538
Geplaatst: 25 Augustus 2004, 14:10   
use a diskedit tool like diskview orso?
and set the archive bit..

at least that is what I would do
legacy
msx professional
Berichten: 516
Geplaatst: 25 Augustus 2004, 15:03   
I suppose it's the Xst bit in the fileheader, I like to know X.
UnregisteredGeplaatst: 25 Augustus 2004, 20:21   
Is it a msx-1 game? Maybe it has to do with the control of the memory in MSX-2. I guess there is a solution for this, like poke-1,170:clear200

or poke&hffff,&haa:clear100

and then run the file once again, maybe it works.
UnregisteredGeplaatst: 25 Augustus 2004, 20:24   
By the way, this poke is also fun, if you boot your msx2 normal and want to go to msxdos in basic.
In the normal case you get a error if you type: call system, but after this poke not:

poke&hf346,1

_system

Have fun

Latok
msx master
Berichten: 1732
Geplaatst: 25 Augustus 2004, 20:26   
Now THIS gives an old school feeling. Poking and Peeking!! I don't think it has anything to do with the subject we're talking about now, but I like it!
MäSäXi
msx addict
Berichten: 491
Geplaatst: 25 Augustus 2004, 20:27   
I have used diskmanager and have seen such error many times on msx2, thought on different games
 
 







(c) 1994 - 2008 Stichting MSX Resource Center. MSX is een trademark van MSX Licensing Corporation.