Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Error Messages

241 views
Skip to first unread message

Michael Law

unread,
Aug 2, 2002, 9:20:10 AM8/2/02
to

Where can i find a list of Speccy error messages such as "R Tape
Loading..." and "Integer out of range.."


/me hides for cover

Mikey!


--
Now playing: <nada>, and I like it :)

Always remember : "Time is an illusion. Lunchtime doubly so."

Julian Hales

unread,
Aug 2, 2002, 10:06:28 AM8/2/02
to

"Michael Law" <la...@clara.co.uk> wrote in message
news:Xns925E915D3DC57mi...@195.92.195.227...

Back of manuals i should think......i perferd the hook codes for the Int1
and mdrives best.


Philip Kendall

unread,
Aug 2, 2002, 10:32:15 AM8/2/02
to
In article <Xns925E915D3DC57mi...@195.92.195.227>,

Michael Law <la...@clara.co.uk> wrote:
>
>Where can i find a list of Speccy error messages such as "R Tape
>Loading..." and "Integer out of range.."

10 FOR i=5010 TO 5430
20 LET c=PEEK i
30 PRINT CHR$ (c-128*(c>128));
40 IF c>128 THEN PRINT
50 NEXT i

Phil

--
Philip Kendall <pa...@srcf.ucam.org>
http://www.srcf.ucam.org/~pak21/

Lee Prince

unread,
Aug 2, 2002, 1:26:08 PM8/2/02
to
10 PRINT "Michael Law woz 'ere 02 Aug 2002"
20 GO TO 10
RUN

> Where can i find a list of Speccy error messages such as "R Tape
> Loading..." and "Integer out of range.."

Duncan's random sig? Or was that the point?

--
Lee Prince

Eq Tetrachloride

unread,
Aug 2, 2002, 1:57:22 PM8/2/02
to
"Michael Law" <la...@clara.co.uk> wrote:

> Where can i find a list of Speccy error messages such as
> "R Tape Loading..." and "Integer out of range.."

Here's the complete list, including some that only appear on the +2. When
s0lstice is on #zx on Astrolink IRC, you can use the !zxerr <code>
command.

0 OK
1 NEXT without FOR
2 Variable not found
3 Subscript wrong
4 Out of memory
5 Out of screen
6 Number too big
7 RETURN without GO SUB
8 End of file
9 STOP statement
A Invalid argument
B Integer out of range
C Nonsense in BASIC
D BREAK - CONT repeats
E Out of DATA
F Invalid file name
G No room for line
H STOP in INPUT
I FOR without NEXT
J Invalid I/O device
K Invalid colour
L BREAK into program
M RAMTOP no good
N Statement lost
O Invalid stream
P FN without DEF FN
Q Parameter error
R Tape loading error
a MERGE error
b Wrong file type
c CODE error
d Too many brackets
e File already exists
f Invalid name
g File does not exist
h File does not exist
i Invalid device
j Invalid baud rate
k Invalid note name
l Number too big
m Note out of range
n Out of range
o Too many tied notes


Eq.

--
Equinox Tetrachloride
www.CL4.org - www.insecurities.org


Jim Grimwood

unread,
Aug 2, 2002, 2:00:16 PM8/2/02
to
On 2 Aug 2002 15:32:15 +0100, pa...@cam.ac.uk (Philip Kendall) wrote:

>In article <Xns925E915D3DC57mi...@195.92.195.227>,
>Michael Law <la...@clara.co.uk> wrote:
>>Where can i find a list of Speccy error messages such as "R Tape
>>Loading..." and "Integer out of range.."
>
>10 FOR i=5010 TO 5430
>20 LET c=PEEK i
>30 PRINT CHR$ (c-128*(c>128));
>40 IF c>128 THEN PRINT
>50 NEXT i

So they're not just extracted from the aether, then?
Add these two lines to get the error codes:

5 LET n=48
15 IF PEEK 23688=33 THEN PRINT CHR$ n;" ";: LET n=n+1+7*(n=57)

--
Another Fine Product from:
Jim Grimwood, Weardale, England (jimg at domain globalnet.co.uk)

Lee Prince

unread,
Aug 2, 2002, 2:03:55 PM8/2/02
to
10 PRINT "Eq Tetrachloride woz 'ere 02 Aug 2002"

20 GO TO 10
RUN

> d Too many brackets

I always thought Duncan had made this one up.

--
Lee Prince

Brian Gaff

unread,
Aug 2, 2002, 1:25:42 PM8/2/02
to
That was fine for the basic ROM, but with the if1 and the various flavours
of 128 etc, it gets a bit harder, I imagine.

I seem to recall that the +3 had one which said, You should never see this

Brian

--
Brian Gaff - Sorry, can't see pictures, graphics are great, but the blind
can't hear them
bri...@blueyonder.co.uk
"Philip Kendall" <pa...@cam.ac.uk> wrote in message
news:aie55f$ut1$1...@kern.srcf.societies.cam.ac.uk...


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.380 / Virus Database: 213 - Release Date: 24/07/02


John Elliott

unread,
Aug 2, 2002, 2:53:23 PM8/2/02
to
Philip Kendall <pa...@cam.ac.uk> wrote:
: 10 FOR i=5010 TO 5430

: 20 LET c=PEEK i
: 30 PRINT CHR$ (c-128*(c>128));
: 40 IF c>128 THEN PRINT
: 50 NEXT i

10 FOR n = -1 TO 26
20 POKE 23610,n

- type RUN to get the OK message, then NEXT n repeatedly to get the others.

------------- http://www.seasip.demon.co.uk/index.html --------------------
John Elliott | S , , 0:1
| T (c) 1982 Sinclair Research Ltd, 0:1
---------------------------------------------------------------------------

Geoff Wearmouth

unread,
Aug 2, 2002, 4:45:57 PM8/2/02
to
In article <aieiq7$135img$1...@ID-105134.news.dfncis.de>, Brian Gaff
<Bri...@blueyonder.co.uk> writes

>That was fine for the basic ROM, but with the if1 and the various flavours
>of 128 etc, it gets a bit harder, I imagine.

This works with Interface 1 or the ZZ-Spectrum emulator.
The first line is required for ZZ-Spectrum only.

10 FORMAT "m";1;"messages"
20 SAVE * "m";1;"msgs" CODE 703,455
30 LOAD * "m";1;"msgs" CODE 40000
40 FOR i = 40000 TO 40454
50 LET c = PEEK i
60 PRINT ; CHR$ c AND c>31 ;
70 PRINT ; CHR$ 13 + STR$ c + " " AND c<32;
80 NEXT i

Two of these messages don't appear in the manual.
One you will never see.

--
Geoff Wearmouth
The ZX ROM Files http://www.wearmouth.demon.co.uk

Woody

unread,
Aug 2, 2002, 5:02:27 PM8/2/02
to
On 2 Aug 2002 15:32:15 +0100, pa...@cam.ac.uk (Philip Kendall) wrote:

>In article <Xns925E915D3DC57mi...@195.92.195.227>,
>Michael Law <la...@clara.co.uk> wrote:
>>
>>Where can i find a list of Speccy error messages such as "R Tape
>>Loading..." and "Integer out of range.."
>
>10 FOR i=5010 TO 5430
>20 LET c=PEEK i
>30 PRINT CHR$ (c-128*(c>128));
>40 IF c>128 THEN PRINT
>50 NEXT i

Which will run much quicker if recoded as:

10 PRINT "OK"
20 PRINT "NEXT without FOR"
30 PRINT "Variable not found"
40 PRINT "Subscript wrong"

Oh sod this! :-)

luv-snail

unread,
Aug 2, 2002, 5:03:01 PM8/2/02
to
heh, Lee Prince is such a bast:

try this:

PLAY "((((("

(on a 128k, obviously)


luv-snail

unread,
Aug 2, 2002, 5:36:10 PM8/2/02
to
heh, Eq Tetrachloride is such a bast:

Here are some more that appear on the +3/+2A:

Bad filename
Bad filename
Bad parameters
Drive not found
File not found
File already exists
End of file found
Disk full
Directory full
File is read only
File not open
File already in use
No rename between drives
Missing extent
Uncached
File too big
Disk is not bootable
Drive in use
Drive not ready
Disk is write protected
Seek fail
CRC data error
No data
Missing address mark
Unrecognised disk format
Unknown disk error
Disk has been changed
Unsuitable media
Invalid attribute
Cannot copy to/from tape
Destination cannot be wild
Destination must be drive
Drive B: is not present
+2A does not support format
Drive must be A: or B:
Invalid drive
Code length error

The following only appear on the +3e:

Invalid partition
Partition already exists
Not implemented
Partition open
Out of partition handles
Not a swap partition
Drive already mapped
Out of XDPBs
No swap partition available
Invalid device
Syntax??C

I think that's about it. Feel free to add some more :)


Geoff Wearmouth

unread,
Aug 2, 2002, 6:17:13 PM8/2/02
to
In article <uuMjoLAF...@wearmouth.demon.co.uk>, Geoff Wearmouth
<ge...@wearmouth.demon.co.uk> writes

>In article <aieiq7$135img$1...@ID-105134.news.dfncis.de>, Brian Gaff
><Bri...@blueyonder.co.uk> writes
>>That was fine for the basic ROM, but with the if1 and the various flavours
>>of 128 etc, it gets a bit harder, I imagine.
>
>This works with Interface 1 or the ZZ-Spectrum emulator.

http://www.chaos.dk/~tron/zx/

If you select the 128K with Interface 1 Option (or you have the real
thing) then you could have an all singing all dancing program that
printed three sets of messages.

here's the Toaster part

10 SAVE ! "m128" CODE 1164,241
20 LOAD ! "m128" CODE 50000
30 FOR i = 50000 TO 50240
40 PRINT ; CHR$ (c - 128 * (c>127));
50 IF c > 127 THEN PRINT
60 NEXT i

Geoff Wearmouth

unread,
Aug 2, 2002, 8:29:41 PM8/2/02
to
In article <aieiq7$135img$1...@ID-105134.news.dfncis.de>, Brian Gaff
<Bri...@blueyonder.co.uk> writes

>I seem to recall that the +3 had one which said, You should never see this

Yes this is in ROM 1 at address $2AA8 after the "Code length error"
message. It is followed by "Hello there".

A useful program to find messages in ROMs and other programs is Utility
3 from The Utilities section of WOS. (Plug tax on its way). It will work
with all the hardware configurations of RealSpec, ZX32, et al. -
Interface 1, Spectrum +2, +3 etc.

Initials are another thing to look for. MB (Martin Brennan of Atari
Jaguar fame) appears in the Interface 1 ROM and at the end of one of the
128K BASIC ROMs. Also RG (Rupert Goodwin) and AC (A Contractor?) and KM.

Back on the Plus 3 in ROM 0 there is the extensive factory test system
V4.0 1987 by RG (Dr. Rupe again), CL (Cliff Lawson) and VO (?).

There are warnings to TAKE CARE THESE TESTS REQUIRE FACTORY TEST
EQUIPMENT YOU HAVE BEEN WARNED.

Difficult to get in there but lots of error messages relating to the ULA
and IC7 and IC8 etc. These sort of count.


--
Geoff Wearmouth
Hello there. Press space to give up

Chris Cowley

unread,
Aug 2, 2002, 8:35:41 PM8/2/02
to
On Fri, 02 Aug 2002 22:02:27 +0100, Woody <mark.w...@ntlworld.com>
wrote:

[...]


>Which will run much quicker if recoded as:
>
>10 PRINT "OK"
>20 PRINT "NEXT without FOR"
>30 PRINT "Variable not found"
>40 PRINT "Subscript wrong"
>
>Oh sod this! :-)

Spot the assembler programmer!
--
Chris Cowley

Duncan Snowden

unread,
Aug 2, 2002, 9:47:45 PM8/2/02
to
On Friday, luv-snail wrote:

> Here are some more that appear on the +3/+2A:

[snip 'em]

Coo. Do they have codes, as well (like "*0* OK", "*C* Nonsense in..")?
'Cos I wouldn't mind enlarging my sig generator's brains... (Erm... do
you really think that's wise? -Ed's "Wilson out of Dad's Army"
impression)

--
Duncan Snowden.

P FN without DEF, 880:2

Duncan Snowden

unread,
Aug 2, 2002, 9:47:55 PM8/2/02
to

Well now you know better. Actually, I think it was a discussion about
that very one that finally decided me to go ahead with something I'd
been considering for months.

I mean the random error generator, obviously. Stop looking at me like
that.

--
Duncan Snowden.

scroll?

luv-snail

unread,
Aug 2, 2002, 8:53:43 PM8/2/02
to
heh, Duncan Snowden is such a bast:

> On Friday, luv-snail wrote:
>
>> Here are some more that appear on the +3/+2A:
> [snip 'em]
>
> Coo. Do they have codes, as well (like "*0* OK", "*C* Nonsense in..")?

nope.. they appear as i typed them. for example:

Destination cannot be wild, 0:1

interestingly, the error "+2A does not support format" appears on both the
+2A and the +3 when you POKE 23610,76

never seen it in an actual error situation though. hmmm


luv-snail

unread,
Aug 2, 2002, 8:59:52 PM8/2/02
to
heh, Geoff Wearmouth is such a bast:

> In article <aieiq7$135img$1...@ID-105134.news.dfncis.de>, Brian Gaff
> <Bri...@blueyonder.co.uk> writes
>
>> I seem to recall that the +3 had one which said, You should never
>> see this
>
> Yes this is in ROM 1 at address $2AA8 after the "Code length error"
> message. It is followed by "Hello there".

POKE 23610,80 doesn't display this message as i had anticipated


Peter THOMA$

unread,
Aug 3, 2002, 5:46:18 AM8/3/02
to
On Sat, 3 Aug 2002 01:53:43 +0100, "luv-snail" <ma...@dalerichards.com>
wrote:

>Destination cannot be wild, 0:1

That's an interesting error messge I've never seen before.

Does it come up when you run this program?

10 GOTO MOROCCO

--
pete {at} horseshoe-inn . co . uk
[New here? See http://faq.sinclairspectrum.com ]

"We are Codemasters of Borg - you will be simulated." - Nick Humphries

luv-snail

unread,
Aug 3, 2002, 5:58:34 AM8/3/02
to
heh, Peter THOMA$ is such a bast:

> On Sat, 3 Aug 2002 01:53:43 +0100, "luv-snail" <ma...@dalerichards.com>
> wrote:
>
>> Destination cannot be wild, 0:1
>
> That's an interesting error messge I've never seen before.
>
> Does it come up when you run this program?
>
> 10 GOTO MOROCCO

hehe... no. believe it or not :P

does for this one though:

10 COPY "arse" to "*"


Geoff Wearmouth

unread,
Aug 3, 2002, 6:25:05 AM8/3/02
to
In article <hWF29.3235$Fi2.1...@newsfep1-gui.server.ntli.net>, luv-
snail <ma...@dalerichards.com> writes

I think they must have limited the upper range of the error codes.
Hence a legitimate reason for having such an apparently mischievous
message.

Eq Tetrachloride

unread,
Aug 3, 2002, 6:43:33 AM8/3/02
to
"Geoff Wearmouth" <ge...@wearmouth.demon.co.uk> wrote:

> > ["You should never see this"]


> > Yes this is in ROM 1 at address $2AA8 after the "Code length
> > error" message. It is followed by "Hello there".
>
> POKE 23610,80 doesn't display this message as i had anticipated
>
> I think they must have limited the upper range of the error codes.
> Hence a legitimate reason for having such an apparently mischievous
> message.

http://users.comlab.ox.ac.uk/ian.collier/Spectrum/+3_oddities.txt
"At 2AA8 is the message "You should never see this". It is right, because
error messages are generated from a message address table, and the address
of this message isn't in that table."

POKE 23610,80 and ,81 do display the two joke messages on a +2A.

luv-snail

unread,
Aug 3, 2002, 6:54:58 AM8/3/02
to
heh, Eq Tetrachloride is such a bast:

> "Geoff Wearmouth" <ge...@wearmouth.demon.co.uk> wrote:


>
>>> ["You should never see this"]
>>> Yes this is in ROM 1 at address $2AA8 after the "Code length
>>> error" message. It is followed by "Hello there".
>>
>> POKE 23610,80 doesn't display this message as i had anticipated
>>
>> I think they must have limited the upper range of the error codes.
>> Hence a legitimate reason for having such an apparently mischievous
>> message.
>

> POKE 23610,80 and ,81 do display the two joke messages on a +2A.

not on mine.

*shrug*


Llama-Wax Len

unread,
Aug 3, 2002, 7:57:18 AM8/3/02
to

"Eq Tetrachloride" <eq@@cl4.org> wrote in message
news:aigc4l$pfa$1...@venus.btinternet.com...

>
> POKE 23610,80 and ,81 do display the two joke messages on a +2A.

As I discovered by accident one day while playing about with POKEs (oo-er).
I think I must have picked 23610 because it was the next one up from the
cool beep thingy. When I realised that they were displaying all the error
messags I kept going all the way into the gibberish ones. The discovery of
the above two messages is right up there as one of my most exciting
Speccy-related moments ever.

Sadly.

Len
--
Remove SPAMOFF to reply
"Oh, the nobility of the almost human porpoise!"
DISCLAIMER: By replying to this message, you hereby acknowledge
that the ZX Spectrum game "Robocop" was too difficult.


Chris Young

unread,
Aug 3, 2002, 9:09:52 AM8/3/02
to
On Sat, 3 Aug 2002 01:53:43 +0100, luv-snail ate a Rolo, and turned into...
luv-snail-Man! A super-hero with the power to write complete crap
to comp.sys.sinclair, such as this gem:

> heh, Duncan Snowden is such a bast:
>
> > On Friday, luv-snail wrote:
> >
> >> Here are some more that appear on the +3/+2A:
> > [snip 'em]
> >
> > Coo. Do they have codes, as well (like "*0* OK", "*C* Nonsense in..")?
>
> nope.. they appear as i typed them. for example:
>
> Destination cannot be wild, 0:1

Really? I thought they did. Mind you, it was a long time ago.

Chris

--
+-------------------------------------------+
| Unsatisfactory Software - "because it is" |
| http://www.unsatisfactorysoftware.co.uk |
| Your Sinclair: A Celebration |
+-- http://www.ysac.cjb.net/ --ICQ:28784166-+

luv-snail

unread,
Aug 3, 2002, 9:34:53 AM8/3/02
to
heh, Chris Young is such a bast:

> On Sat, 3 Aug 2002 01:53:43 +0100, luv-snail ate a Rolo, and turned
> into... luv-snail-Man! A super-hero with the power to write complete
> crap to comp.sys.sinclair, such as this gem:
>
>> heh, Duncan Snowden is such a bast:
>>
>>> On Friday, luv-snail wrote:
>>>
>>>> Here are some more that appear on the +3/+2A:
>>> [snip 'em]
>>>
>>> Coo. Do they have codes, as well (like "*0* OK", "*C* Nonsense
>>> in..")?
>>
>> nope.. they appear as i typed them. for example:
>>
>> Destination cannot be wild, 0:1
>
> Really? I thought they did.

Really. They don't. :)


Geoff Wearmouth

unread,
Aug 3, 2002, 12:05:39 PM8/3/02
to
In article <aigc4l$pfa$1...@venus.btinternet.com>, Eq Tetrachloride
<eq@?.org> writes

>"Geoff Wearmouth" <ge...@wearmouth.demon.co.uk> wrote:
>
>> > ["You should never see this"]
>> > Yes this is in ROM 1 at address $2AA8 after the "Code length
>> > error" message. It is followed by "Hello there".
>>
>> POKE 23610,80 doesn't display this message as i had anticipated
>>
>> I think they must have limited the upper range of the error codes.
>> Hence a legitimate reason for having such an apparently mischievous
>> message.
>
>http://users.comlab.ox.ac.uk/ian.collier/Spectrum/+3_oddities.txt
>"At 2AA8 is the message "You should never see this". It is right, because
>error messages are generated from a message address table, and the address
>of this message isn't in that table."

Yes this is correct. I see now that the table of addresses immediately
precedes the table of error messages. I imagined, since every message
(except "Hello there") is terminated by having bit 7 set, that it would
just increment a message number every time it started a new message as
it does for the standard ROM messages.

>POKE 23610,80 and ,81 do display the two joke messages on a +2A.
>
>Eq.

Equally mystified, as this doesn't happen with my RealSpec emulator, I
downloaded the version 4.1 ROMs from Philip Kendall's site

http://www.srcf.ucam.org/~pak21/spectrum/roms.html

and combined them together into a single 64K ROM file (perhaps they
should also be available in this ready-to-roll format) and sure
enough the messages appeared when 23610 was poked.

Seems that,
if your +2A/+3 is V4.0 then PEEK 19 gives 167 (not 255)
if your +2A/+3 is V4.1 then PEEK 20 gives 21 (not 255)

The message "You should not see this" is a little higher at $2C1A
and its entry in the table is at $28DB.

Cheers,

Woody

unread,
Aug 3, 2002, 4:47:03 PM8/3/02
to
On Sat, 03 Aug 2002 01:35:41 +0100, Chris Cowley <cco...@grok.co.uk>
wrote:

Who's slowly becoming a proficient Delphi programmer :-)
Perhaps just a little too slowly though!

Chris Young

unread,
Aug 3, 2002, 4:59:11 PM8/3/02
to
On Sat, 3 Aug 2002 14:34:53 +0100, luv-snail ate a Rolo, and turned into...

luv-snail-Man! A super-hero with the power to write complete crap
to comp.sys.sinclair, such as this gem:

> >>>> Here are some more that appear on the +3/+2A:


> >>> [snip 'em]
> >>>
> >>> Coo. Do they have codes, as well (like "*0* OK", "*C* Nonsense
> >>> in..")?
> >>
> >> nope.. they appear as i typed them. for example:
> >>
> >> Destination cannot be wild, 0:1
> >
> > Really? I thought they did.
>
> Really. They don't. :)

Okay, I believe you. But only because I took another look at the list
and realised there weren't *that* many letters left in the world
(alphabet).

Chs

luv-snail

unread,
Aug 3, 2002, 5:01:36 PM8/3/02
to
heh, Chris Young is such a bast:

> On Sat, 3 Aug 2002 14:34:53 +0100, luv-snail ate a Rolo, and turned


> into... luv-snail-Man! A super-hero with the power to write complete
> crap to comp.sys.sinclair, such as this gem:
>
>>>>>> Here are some more that appear on the +3/+2A:
>>>>> [snip 'em]
>>>>>
>>>>> Coo. Do they have codes, as well (like "*0* OK", "*C* Nonsense
>>>>> in..")?
>>>>
>>>> nope.. they appear as i typed them. for example:
>>>>
>>>> Destination cannot be wild, 0:1
>>>
>>> Really? I thought they did.
>>
>> Really. They don't. :)
>
> Okay, I believe you. But only because I took another look at the list
> and realised there weren't *that* many letters left in the world
> (alphabet).

if you spent hours (well, minutes) sitting there POKEing 23610, you'd be
quite offended if people didn't believe you. :P


Scribbler

unread,
Aug 3, 2002, 7:42:19 PM8/3/02
to

"Peter THOMA$" <see-m...@hotmail.com> wrote in message
news:3d4ba61c...@news.ntlworld.com...

> Does it come up when you run this program?
>
> 10 GOTO MOROCCO

2 Variable not Found 10:1

:-)

Peter THOMA$

unread,
Aug 4, 2002, 5:10:05 AM8/4/02
to
On Sun, 4 Aug 2002 00:42:19 +0100, "Scribbler"
<scribbl...@ntlworld.com> wrote:

>> Does it come up when you run this program?
>> 10 GOTO MOROCCO
>2 Variable not Found 10:1
>:-)

20 TRY LOOKING AT THE NORTH COAST OF AFRICA, STUPID

Philip Kendall

unread,
Aug 4, 2002, 6:37:02 AM8/4/02
to
In article <tf5z0KAT9$S9E...@wearmouth.demon.co.uk>,

Geoff Wearmouth <ge...@wearmouth.demon.co.uk> wrote:
>
>I downloaded the version 4.1 ROMs from Philip Kendall's site
>
>http://www.srcf.ucam.org/~pak21/spectrum/roms.html
>
>and combined them together into a single 64K ROM file (perhaps they
>should also be available in this ready-to-roll format)

To be honest, I really don't see the need given that converting from 4
files to 1 is absolutely trivial[1].

Phil

[1] $ cat plus3-41-?.rom > plus3-41.rom

--
Philip Kendall <pa...@srcf.ucam.org>
http://www.srcf.ucam.org/~pak21/

Jaime Tejedor Gómez, aka Metalbrain

unread,
Aug 4, 2002, 8:42:07 AM8/4/02
to

>To be honest, I really don't see the need given that converting from 4
>files to 1 is absolutely trivial[1].
>
>Phil
>
>[1] $ cat plus3-41-?.rom > plus3-41.rom

or, using DOS (or DOS-Box):

copy /b plus3-41-0.rom+plus3-41-1.rom+plus3-41-2.rom+plus3-41-3.rom plus3-41.rom

(longer to type, but still trivial)

METALBRAIN
(C) 1977 Tejedor & Gómez Research Ltd.

Chris Cowley

unread,
Aug 4, 2002, 1:26:57 PM8/4/02
to
On Sun, 04 Aug 2002 12:42:07 GMT, metalbra...@gmx.net (Jaime
Tejedor Gómez, aka Metalbrain) wrote:

>or, using DOS (or DOS-Box):
>
>copy /b plus3-41-0.rom+plus3-41-1.rom+plus3-41-2.rom+plus3-41-3.rom plus3-41.rom
>
>(longer to type, but still trivial)

What's wrong with "copy /b plus3-41-?.rom plus3-41.rom"?
--
Chris Cowley
vbSpec and vb81
Spectrum and ZX81 emulators in native VB (with source)
http://freestuff.grok.co.uk/

Jaime Tejedor Gómez, aka Metalbrain

unread,
Aug 4, 2002, 1:51:59 PM8/4/02
to
>What's wrong with "copy /b plus3-41-?.rom plus3-41.rom"?

It may produce an unsorted file, cause they're taken in the order they're
found in the directory.

Chris Cowley

unread,
Aug 4, 2002, 4:14:44 PM8/4/02
to
On Sun, 04 Aug 2002 17:51:59 GMT, metalbra...@gmx.net (Jaime

Tejedor Gómez, aka Metalbrain) wrote:

>>What's wrong with "copy /b plus3-41-?.rom plus3-41.rom"?
>
> It may produce an unsorted file, cause they're taken in the order they're
>found in the directory.

Ah, I see. And presumably unix is guaranteed to read files in
alphabetical order then?
--
Chris Cowley

Geoff Wearmouth

unread,
Aug 4, 2002, 4:40:54 PM8/4/02
to
In article <8j2rkuk7jkdpccfki...@hobgoblin.grok.co.uk>,
Chris Cowley <cco...@grok.co.uk> writes

Yes I sometimes use split bigfile which splits it into xaa xab etc
and then after editing the part i want, I combine it all together with
cat x?? > bigfile. I use this on 900 Mb text files.

I started using DOS about 5 years ago having gone straight from the
Spectrum to Unix and just couldn't hack it so downloaded Unix Utilities
for DOS, perl and gawk etc.

However my cat.exe can't use wildcards so it wasn't as simple as the cat
command I use on weekdays.

Andy Cadley

unread,
Aug 5, 2002, 4:50:51 AM8/5/02
to

On Sat, 3 Aug 2002, luv-snail wrote:

> Destination cannot be wild, 0:1
>
> interestingly, the error "+2A does not support format" appears on both the
> +2A and the +3 when you POKE 23610,76
>
> never seen it in an actual error situation though. hmmm


Have you tried typing FORMAT "m:" on a +2A? I think that does it, IIRC. I
seem to remember a really boring[1] Sunday afternoon me and my mate tried
to make all the error messages appear.

Yes it was *that* boring.

AndyC
[1] Presumably a rainy one as well...

Chris Cowley

unread,
Aug 5, 2002, 6:21:32 AM8/5/02
to
On Sun, 4 Aug 2002 21:40:54 +0100, Geoff Wearmouth
<ge...@wearmouth.demon.co.uk> wrote:

>Yes I sometimes use split bigfile which splits it into xaa xab etc
>and then after editing the part i want, I combine it all together with
>cat x?? > bigfile. I use this on 900 Mb text files.

Yeah I've had a couple of e-mailed replies from other people who know
about this stuff saying that, although it's not absolutely guaranteed,
in practice any *nix shell that didn't expand wildcards in ASCII order
would be rendering itself very incompatible, so in general they all do.

>I started using DOS about 5 years ago having gone straight from the
>Spectrum to Unix and just couldn't hack it so downloaded Unix Utilities
>for DOS, perl and gawk etc.

I've always had directory in my DOS path full of tiny batch files for
the same reason. (ls.bat, cat.bat, etc) just to catch my most common
slips (obviously they handle switches, parameters and pipes differently,
but it works for the majority of simple cases).
--
Chris Cowley

luv-snail

unread,
Aug 5, 2002, 8:40:23 AM8/5/02
to
heh, Andy Cadley is such a bast:

> On Sat, 3 Aug 2002, luv-snail wrote:
>
>> Destination cannot be wild, 0:1
>>
>> interestingly, the error "+2A does not support format" appears on
>> both the +2A and the +3 when you POKE 23610,76
>>
>> never seen it in an actual error situation though. hmmm
>
>
> Have you tried typing FORMAT "m:" on a +2A? I think that does it,
> IIRC.

nope.. that gives "Invalid drive"

I seem to remember a really boring[1] Sunday afternoon me and
> my mate tried to make all the error messages appear.
>
> Yes it was *that* boring.

did you manage to get "Uncached"?


Llama-Wax Len

unread,
Aug 5, 2002, 3:08:29 PM8/5/02
to

"Andy Cadley" <a...@sys.uea.ac.uk> wrote in message
news:Pine.GSO.4.10.102080...@zen.sys.uea.ac.uk...

> Have you tried typing FORMAT "m:" on a +2A? I think that does it, IIRC. I
> seem to remember a really boring[1] Sunday afternoon me and my mate tried
> to make all the error messages appear.
>
> Yes it was *that* boring.

Get to the exciting part... did you actually achieve your goal?

Chris Young

unread,
Aug 5, 2002, 3:40:33 PM8/5/02
to
On Sat, 3 Aug 2002 22:01:36 +0100, luv-snail ate a Rolo, and turned into...

luv-snail-Man! A super-hero with the power to write complete crap
to comp.sys.sinclair, such as this gem:

> if you spent hours (well, minutes) sitting there POKEing 23610, you'd be


> quite offended if people didn't believe you. :P

Isn't there a list of them in the +3 manual? Which is (IIRC) available
on-line?

Chris

Chris Young

unread,
Aug 5, 2002, 3:43:30 PM8/5/02
to
On Sun, 04 Aug 2002 12:42:07 GMT, Jaime Tejedor Gómez, aka Metalbrain ate a Rolo, and turned into...
Jaime Tejedor Gómez, aka Metalbrain-Man! A super-hero with the power to write complete crap

to comp.sys.sinclair, such as this gem:

> >To be honest, I really don't see the need given that converting from 4


> >files to 1 is absolutely trivial[1].
> >

> >[1] $ cat plus3-41-?.rom > plus3-41.rom
>
> or, using DOS (or DOS-Box):
>
> copy /b plus3-41-0.rom+plus3-41-1.rom+plus3-41-2.rom+plus3-41-3.rom plus3-41.rom
>
> (longer to type, but still trivial)

Or using AmigaDOS:

join plus3-41-0.rom plus3-41-1.rom plus3-41-2.rom plus3-41-3.rom as
plus3-41.rom

(and no I don't know whether you can do this using wildcards, I've never
tried because I suspect the files will get joined in the wrong order if
it even accepts them)

Ant

unread,
Aug 5, 2002, 5:05:29 PM8/5/02
to
> Or using AmigaDOS:
>
> join plus3-41-0.rom plus3-41-1.rom plus3-41-2.rom plus3-41-3.rom as
> plus3-41.rom
>
> (and no I don't know whether you can do this using wildcards, I've never
> tried because I suspect the files will get joined in the wrong order if
> it even accepts them)

A quick test reveals that you can use wildcards with "join", but the files
get joined backwards, ie. files named "1", "2" and "3" get joined in the
order "3", "2" and "1". Trying to be clever and using the "list" command to
output to a file, then using that as an argument string, doesn't work
either.


luv-snail

unread,
Aug 5, 2002, 6:10:20 PM8/5/02
to
heh, Chris Young is such a bast:

> On Sat, 3 Aug 2002 22:01:36 +0100, luv-snail ate a Rolo, and turned


> into... luv-snail-Man! A super-hero with the power to write complete
> crap to comp.sys.sinclair, such as this gem:
>
>> if you spent hours (well, minutes) sitting there POKEing 23610,
>> you'd be quite offended if people didn't believe you. :P
>
> Isn't there a list of them in the +3 manual? Which is (IIRC)
> available on-line?

maybe, but seeing is believeing :)


luv-snail

unread,
Aug 5, 2002, 6:42:38 PM8/5/02
to
heh, luv-snail is such a bast:

> heh, Andy Cadley is such a bast:
>
>> On Sat, 3 Aug 2002, luv-snail wrote:
>>
>>> Destination cannot be wild, 0:1
>>>
>>> interestingly, the error "+2A does not support format" appears on
>>> both the +2A and the +3 when you POKE 23610,76
>>>
>>> never seen it in an actual error situation though. hmmm
>>
>>
>> Have you tried typing FORMAT "m:" on a +2A? I think that does it,
>> IIRC.
>
> nope.. that gives "Invalid drive"

...but FORMAT "a:" does the trick :)


0 new messages