- Top Stats

Top Posters Top Topic Starters Top Topics
Bryce 5279
TFM 2507
Gryzor 2255
arnoldemu 1273
TotO 1166
Bryce 90
arnoldemu 70
Gryzor 42
LambdaMike... 37
CraigsBar 35
Amstrad CPC WiFi - 282144 Views Duke 09:36, 07 May 16
CPC Plus cartr... - 207959 Views gerald 17:39, 01 November 14
ACID chip inside - 81352 Views MacDeath 15:52, 23 October 09
Gotek USB in a... - 69879 Views gryzor 18:01, 18 March 14
Pros & Con... - 58318 Views CPCIak 15:07, 11 May 10


Author Topic: M4 Board. V2.05B3. autoexec.bas problem  (Read 296 times)

0 Members and 1 Guest are viewing this topic.

Offline arnom

  • Speccy
  • *
  • Posts: 2
  • Country: fr
  • CPC 6128 - CRTC1 - M4 Board
  • Liked: 1
M4 Board. V2.05B3. autoexec.bas problem
« on: 16:16, 04 January 19 »
Hello,


I would like to use the "autoexec" file with my M4 Board V2.05B3 to run command at startup on my 6128, but it doesn't work. When i upload file in root of my sdcard the prompt is freezed and my M4 restart or i get syntax error message.


I have tried many different ways, name the file with uppercase, lowercase, different syntax etc ... Nothing work. I did try also to change the rom configuration " M4 rom in slot 7/6 or lower rom in slot 31" nothing change.


this is the content of my file "AUTOEXEC.bas" :


Code: [Select]



10 mode 2
20 ink 1,26


save"autoexec.bas




My Rom config :


The screen freezed :





If anybody have an idea, thank you !


Best wishes !


Arnom
SHOOT AGAIN - 145 rue de Flandres 75019 - métro Crimée - tel.: 60.38.02.38

Online Duke

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.066
  • Country: dk
    • spinpoint.org
  • Liked: 1114
Re: M4 Board. V2.05B3. autoexec.bas problem
« Reply #1 on: 17:33, 04 January 19 »
The same works fine when I try.

Could you email me your romconfig.bin & romslots.bin (or attach here), so I can try with same rom setup as you, to see if its any of the extension roms, that makes it hang.

Offline francouai

  • CPC664
  • ***
  • Posts: 100
  • Country: fr
  • CPC6128+
  • Liked: 23
Re: M4 Board. V2.05B3. autoexec.bas problem
« Reply #2 on: 19:22, 04 January 19 »
Did you create your file from a PC or directly from your CPC?


Don’t use notepad or whatever!

--
francois

Offline Syncmaster319

  • CPC464
  • **
  • Posts: 13
  • Country: gb
  • Liked: 2
Re: M4 Board. V2.05B3. autoexec.bas problem
« Reply #3 on: 19:38, 04 January 19 »
Did you create your file from a PC or directly from your CPC?


Don’t use notepad or whatever!



I made the same mistake by creating on PC in notepad and copying to memory card.


You need to write the BASIC programme on your CPC and save to the M4 using the save command.


Really couldn't find any info about how to do it but someone uploaded a sample file here which wouldn't open in notepad.
 

Offline arnom

  • Speccy
  • *
  • Posts: 2
  • Country: fr
  • CPC 6128 - CRTC1 - M4 Board
  • Liked: 1
Re: M4 Board. V2.05B3. autoexec.bas problem
« Reply #4 on: 19:51, 04 January 19 »
Thanks all for your reply.


 :doh:   indeed it has been create on my PC.


I just created the file on CPC all works fine now thank you very much !











SHOOT AGAIN - 145 rue de Flandres 75019 - métro Crimée - tel.: 60.38.02.38

Offline francouai

  • CPC664
  • ***
  • Posts: 100
  • Country: fr
  • CPC6128+
  • Liked: 23
Re: M4 Board. V2.05B3. autoexec.bas problem
« Reply #5 on: 00:34, 05 January 19 »
Here it is  :D


Yw!
--
francois