TOS 1.04 sources reconstructed
Moderators: simonsunnyboy, Mug UK, Zorro 2, Moderator Team
-
- Fuji Shaped Bastard
- Posts: 2370
- Joined: Sun Aug 03, 2014 5:54 pm
Re: TOS 1.04 sources reconstructed
I've added now also binaries for win32 for the compiler tools. So using a decent shell, you can compile it now also on windows. The MSYS2 or cygwin environments can be used for that.
-
- Captain Atari
- Posts: 155
- Joined: Fri Jun 12, 2009 8:34 am
- Location: St. Petersburg, RUSSIA
- Contact:
Re: TOS 1.04 sources reconstructed
BlankVector, what can you say about this ?ojanhk wrote: ↑Sun Jan 16, 2022 4:29 pm To my knowledge there were no ST with SECAM. Actually, I’m not even sure version with modulator were sold here. By the time the ST was released, SCART connector with RVB was mandatory on all TV sets and all the French ST I’ve seen so far were PAL using the RVB out (there is no CVBS neither ).
Re: TOS 1.04 sources reconstructed
great.ThorstenOtto wrote: ↑Mon Jan 17, 2022 8:54 am I've added now also binaries for win32 for the compiler tools. So using a decent shell, you can compile it now also on windows. The MSYS2 or cygwin environments can be used for that.
I've just tried under Cygwin and I see following error under :
Code: Select all
$ make
for i in common tools bios vdi bdos aes desk system glue; do make -C $i COUNTRY=de TOSVERSION=104 all || exit 1; done
make[1]: Entering directory '/home/konadcyp/tos1x-master/common'
make[1]: Leaving directory '/home/konadcyp/tos1x-master/common'
make[1]: Entering directory '/home/konadcyp/tos1x-master/tools'
CC cmprom.c
LD cmprom
CC newglue.c
In file included from newglue.c:3:
../common/config.h:15:10: fatal error: localcnf.h: No such file or directory
15 | #include "localcnf.h"
| ^~~~~~~~~~~~
compilation terminated.
make[1]: *** [../GNUmakefile.cmn:155: newglue.o] Error 1
make[1]: Leaving directory '/home/konadcyp/tos1x-master/tools'
make: *** [GNUmakefile:33: all] Error 1
Lynx I / Mega ST 1 / 7800 / Portfolio / Lynx II / Jaguar / TT030 / Mega STe / 800 XL / 1040 STe / Falcon030 / 65 XE / 520 STm / SM124 / SC1435
DDD HDD / AT Speed C16 / TF536 / SDrive / PAK68/3 / Lynx Multi Card / LDW Super 2000 / XCA12 / SkunkBoard / CosmosEx / SatanDisk / UltraSatan / USB Floppy Drive Emulator / Eiffel / SIO2PC / Crazy Dots / PAM Net
Hatari / Steem SSE / Aranym / Saint
http://260ste.atari.org
DDD HDD / AT Speed C16 / TF536 / SDrive / PAK68/3 / Lynx Multi Card / LDW Super 2000 / XCA12 / SkunkBoard / CosmosEx / SatanDisk / UltraSatan / USB Floppy Drive Emulator / Eiffel / SIO2PC / Crazy Dots / PAM Net
Hatari / Steem SSE / Aranym / Saint
http://260ste.atari.org
-
- Fuji Shaped Bastard
- Posts: 2370
- Joined: Sun Aug 03, 2014 5:54 pm
Re: TOS 1.04 sources reconstructed
Hm, strange, that file is supposed to be generated by the "touch" utility if it does not exist. Do you have that installed? It should normally be part of the coreutils package. As a workaround, you can just create an empty file common/localcnf.h The file is not really used when you want to create a binary exact image, only when you want to also include some patches.
Edit: you also need to install the "bc" package. This is a package which is unlikely to be already installed.
Edit: you also need to install the "bc" package. This is a package which is unlikely to be already installed.
Re: TOS 1.04 sources reconstructed
Ive checked and I have installed "coreutils" 8.26-2
Interesting is that at the first time make complained about lack(?) of "bc". When I've installed it manually it has showed me that error.
I see that "touch" is installed:
---EDIT---
now after "make clean" and "make" something was built
---EDIT2---
success. generated "tos104de.img" is exactly the same as the original "tos104de.img"
Thanks Thorsten
Interesting is that at the first time make complained about lack(?) of "bc". When I've installed it manually it has showed me that error.
I see that "touch" is installed:
Code: Select all
$ touch --help
Usage: touch [OPTION]... FILE...
Update the access and modification times of each FILE to the current time.
A FILE argument that does not exist is created empty, unless -c or -h
is supplied.
A FILE argument string of - is handled specially and causes touch to
change the times of the file associated with standard output.
Mandatory arguments to long options are mandatory for short options too.
-a change only the access time
-c, --no-create do not create any files
-d, --date=STRING parse STRING and use it instead of current time
-f (ignored)
-h, --no-dereference affect each symbolic link instead of any referenced
file (useful only on systems that can change the
timestamps of a symlink)
-m change only the modification time
-r, --reference=FILE use this file's times instead of current time
-t STAMP use [[CC]YY]MMDDhhmm[.ss] instead of current time
--time=WORD change the specified time:
WORD is access, atime, or use: equivalent to -a
WORD is modify or mtime: equivalent to -m
--help display this help and exit
--version output version information and exit
Note that the -d and -t options accept different time-date formats.
GNU coreutils online help: <http://www.gnu.org/software/coreutils/>
Report touch translation bugs to <http://translationproject.org/team/>
Full documentation at: <http://www.gnu.org/software/coreutils/touch>
or available locally via: info '(coreutils) touch invocation'
now after "make clean" and "make" something was built
---EDIT2---
success. generated "tos104de.img" is exactly the same as the original "tos104de.img"
Thanks Thorsten
Lynx I / Mega ST 1 / 7800 / Portfolio / Lynx II / Jaguar / TT030 / Mega STe / 800 XL / 1040 STe / Falcon030 / 65 XE / 520 STm / SM124 / SC1435
DDD HDD / AT Speed C16 / TF536 / SDrive / PAK68/3 / Lynx Multi Card / LDW Super 2000 / XCA12 / SkunkBoard / CosmosEx / SatanDisk / UltraSatan / USB Floppy Drive Emulator / Eiffel / SIO2PC / Crazy Dots / PAM Net
Hatari / Steem SSE / Aranym / Saint
http://260ste.atari.org
DDD HDD / AT Speed C16 / TF536 / SDrive / PAK68/3 / Lynx Multi Card / LDW Super 2000 / XCA12 / SkunkBoard / CosmosEx / SatanDisk / UltraSatan / USB Floppy Drive Emulator / Eiffel / SIO2PC / Crazy Dots / PAM Net
Hatari / Steem SSE / Aranym / Saint
http://260ste.atari.org
-
- Atari Super Hero
- Posts: 573
- Joined: Wed Oct 24, 2007 7:52 pm
- Location: France
- Contact:
Re: TOS 1.04 sources reconstructed
I agree with the above. I only know French STF and STE. Both are similar:avtandil wrote: ↑Mon Jan 17, 2022 11:02 amBlankVector, what can you say about this ?ojanhk wrote: ↑Sun Jan 16, 2022 4:29 pm To my knowledge there were no ST with SECAM. Actually, I’m not even sure version with modulator were sold here. By the time the ST was released, SCART connector with RVB was mandatory on all TV sets and all the French ST I’ve seen so far were PAL using the RVB out (there is no CVBS neither ).
- only RGB output through SCART/Peritel
- no composite/CVBS. Hence no SECAM, and no PAL either. So it's impossible to record ST output with a standard VCR (unlike Super Nintendo for example which outputs both RGB and composite/PAL it its SCART/Peritel connector)
- no modulator for antenna output. French ST requires a TV or monitor with SCART/Peritel input.
Subscribe to my Vretrocomputing channel on YouTube and Facebook. Latest video: Disable the key click in assembly language on Atari ST.
-
- Captain Atari
- Posts: 155
- Joined: Fri Jun 12, 2009 8:34 am
- Location: St. Petersburg, RUSSIA
- Contact:
Re: TOS 1.04 sources reconstructed
I also installed bc manually.
Then I trying to make image and get following error:
C:/cygwin/bin/bc.exe: error while loading shared libraries: cygreadline6.dll: cannot open shared object file: No such file or directory
Any ideas?
Re: TOS 1.04 sources reconstructed
Lynx I / Mega ST 1 / 7800 / Portfolio / Lynx II / Jaguar / TT030 / Mega STe / 800 XL / 1040 STe / Falcon030 / 65 XE / 520 STm / SM124 / SC1435
DDD HDD / AT Speed C16 / TF536 / SDrive / PAK68/3 / Lynx Multi Card / LDW Super 2000 / XCA12 / SkunkBoard / CosmosEx / SatanDisk / UltraSatan / USB Floppy Drive Emulator / Eiffel / SIO2PC / Crazy Dots / PAM Net
Hatari / Steem SSE / Aranym / Saint
http://260ste.atari.org
DDD HDD / AT Speed C16 / TF536 / SDrive / PAK68/3 / Lynx Multi Card / LDW Super 2000 / XCA12 / SkunkBoard / CosmosEx / SatanDisk / UltraSatan / USB Floppy Drive Emulator / Eiffel / SIO2PC / Crazy Dots / PAM Net
Hatari / Steem SSE / Aranym / Saint
http://260ste.atari.org
Re: TOS 1.04 sources reconstructed
Wow, what a fantastic topic. Amazing work ThorstenOtto. I think I agree with ijor regarding the older versions - reversing 1.02 and 1.00 would be pretty useful in the long run.
520 STFM w/ 1 MB RAM and tons of floppies with Automation menus on them. What joy!
1040 STFM
SuperCard Pro
1040 STFM
SuperCard Pro
Re: TOS 1.04 sources reconstructed
Trying to build tos306de with BINEXACT=0 and I get this....
make[1]: Entering directory '/Atari/tos2x/tos306de/bios'
AS startup.S
AS nvram.S
AS ikbdclk.S
AS chardev.S
& 1961: invalid opcode
& 1 errors
make[1]: *** [../GNUmakefile.cmn:147: chardev.o] Error 1
Anyone seen this before ?
make[1]: Entering directory '/Atari/tos2x/tos306de/bios'
AS startup.S
AS nvram.S
AS ikbdclk.S
AS chardev.S
& 1961: invalid opcode
& 1 errors
make[1]: *** [../GNUmakefile.cmn:147: chardev.o] Error 1
Anyone seen this before ?
Falcon CT60, Falcon CT63 x2, TT x3, MegaST x2, MegaSTE x2, STFM x2, STE x2, STacy, STBook, (Dead) Hades 060, Milan 060, T40.
-
- Fuji Shaped Bastard
- Posts: 2370
- Joined: Sun Aug 03, 2014 5:54 pm
Re: TOS 1.04 sources reconstructed
TOS 3.x is a different archive 
I cannot reproduce that currently. Maybe you should try downloading the current version again (http://tho-otto.de/download/tos306de.tar.bz2), possibly it is an old error which has already been fixed. If that does not help, try manually executing
to get a preprocessed file (the line number 1961 refers to this file, not the source). Then look at the offending line.

I cannot reproduce that currently. Maybe you should try downloading the current version again (http://tho-otto.de/download/tos306de.tar.bz2), possibly it is an old error which has already been fixed. If that does not help, try manually executing
Code: Select all
../bin/linux/cp68 -I../common -I../include -P chardev.S chardev.i
Re: TOS 1.04 sources reconstructed
Perfect. Thanks. The new download did it.
Falcon CT60, Falcon CT63 x2, TT x3, MegaST x2, MegaSTE x2, STFM x2, STE x2, STacy, STBook, (Dead) Hades 060, Milan 060, T40.