Forum > Other OS
Atari m68k
peters060:
I know ChainQ is aware of the problem but I wanted to make sure a wider audience was aware of it.
I did have a dig into the fpc code but couldn't identify where the units are loaded.
marcov:
Try to remove tf_use_8_3, in compiler/systems/i_atari.pas
winni:
Hi!
There was never a Turbo Pascal Version for the Atari ST. But you could run a MSDOS-Emulator and then use the DOS version of TP.
Pascal for Atari ST :
* UCSD Pascal, ported to Motorola 68000 by Focus, Hannover
* ST Pascal from CCD (with the utils function EatSpaces )
The floppy disk layout was the same as MSDOS but somewhere in the boot sector you hat to set a compatibility flag (bit).
Beware of using 8th bit for filenames: Beyond #127 Atari had its own idea where to put äüö and the others.
Winni
MarkMLl:
--- Quote from: winni on April 19, 2022, 02:04:38 pm ---There was never a Turbo Pascal Version for the Atari ST. But you could run a MSDOS-Emulator and then use the DOS version of TP.
--- End quote ---
You miss my point. DR OSes, including CP/M-68K, didn't know about directories and that presumably affects the earliest versions of TOS. Software of that era including Turbo Pascal used fixed-length 8.3 filenames in FCBs and had no API for either changing directory or specifying that a file was in a particular directory.
--- Quote ---Pascal for Atari ST :
* UCSD Pascal, ported to Motorola 68000 by Focus, Hannover
* ST Pascal from CCD (with the utils function EatSpaces )
--- End quote ---
Plus Hisoft HighSpeed Pascal.
--- Quote ---Beware of using 8th bit for filenames: Beyond #127 Atari had its own idea where to put äüö and the others.
--- End quote ---
Also some DR OSes and derivatives used the MSB of the 8.3 filename in the FCB to indicate special file access attributes. That's probably later than the TOS fork.
So I think what I'm really trying to say is that there are plentiful gotchas that can inflict any attempt to get something like FPC ported to an OS of that era... unless it really has been augmented with a unix-like (or at least MS-DOS v3 like) API. And I've done enough support etc. work to know just how difficult the OS imitation game can be.
MarkMLl
peters060:
This is the error:
# ./fpc.ttp -Wtmint -Sg /usr/src/gemical/gemical.pas
Free Pascal Compiler version 3.3.1 [2022/03/13] for m68k
Copyright (c) 1993-2022 by Florian Klaempfl and others
Target OS: Atari ST/STE
Compiling /usr/src/gemical/gemical.pas
Compiling /usr/src/gemical/mainical.pas
mainical.pas(86,5) Fatal: Can't find unit djLogOverSimpleLogger used by MainIcal
Fatal: Compilation aborted
Error: ppc68k.ttp returned an error exitcode
The src code is on ext2 partition and the filename is djLogOverSimpleLogger.pas
The fpc.cfg is:
-l
-view
#-Xs
-O2
-FDbin
-Fu/f/Applications/fpascal/units/atari/*
Navigation
[0] Message Index
[#] Next page
[*] Previous page