Re: [fpc-devel] Questions regarding m68k-atari target

2022-01-29 Thread Thorsten Otto via fpc-devel
On Freitag, 28. Januar 2022 20:21:03 CET Karoly Balogh wrote: > a fixed GAS/LD support would be nice, of > course. Yes, but currently i'm a bit lost here. Since that combination currently does not support "smart linking", i guess i'll stick to vasm for now. There are other parts that should be i

Re: [fpc-devel] Questions regarding m68k-atari target

2022-01-29 Thread Sven Barth via fpc-devel
Am 29.01.2022 um 09:24 schrieb Thorsten Otto via fpc-devel: On Freitag, 28. Januar 2022 20:21:03 CET Karoly Balogh wrote: > a fixed GAS/LD support would be nice, of > course. Yes, but currently i'm a bit lost here. Since that combination currently does not support "smart linking", i guess i'

Re: [fpc-devel] Questions regarding m68k-atari target

2022-01-29 Thread Karoly Balogh via fpc-devel
Hi, On Sat, 29 Jan 2022, Thorsten Otto via fpc-devel wrote: > On Freitag, 28. Januar 2022 20:21:03 CET Karoly Balogh wrote: > >> a fixed GAS/LD support would be nice, of course. > > Yes, but currently i'm a bit lost here. Since that combination currently > does not support "smart linking", i gues

Re: [fpc-devel] Questions regarding m68k-atari target

2022-01-29 Thread Karoly Balogh via fpc-devel
Hi, On Sat, 29 Jan 2022, Karoly Balogh via fpc-devel wrote: > > There are other parts that should be improved, and seem more important > > to me (like ARGV support, completing the GEMDOS/BIOS/XBIOS interface > > etc) > > Totally agree here. Just one more note here, for the ARGV support, general

Re: [fpc-devel] Questions regarding m68k-atari target

2022-01-29 Thread Thorsten Otto via fpc-devel
On Samstag, 29. Januar 2022 13:13:08 CET Karoly Balogh wrote: > . I think this is the main issue, as > I've seen GEMDOS has special calls for console I/O which are not being > utilized now. Yes, but when using standard handles 0 and 1, Fread() should work the same. There should be no need to call

Re: [fpc-devel] Questions regarding m68k-atari target

2022-01-29 Thread Thorsten Otto via fpc-devel
On Samstag, 29. Januar 2022 13:41:24 CET Karoly Balogh via fpc-devel wrote: > Additionally, for extending the OS interfaces, you probably also want to > look into packages/tosunits. Yes, thanks, i've seen that already. I has a few more functions than in rtl/ atari/, but still some functions missin

Re: [fpc-devel] Questions regarding m68k-atari target

2022-01-29 Thread Karoly Balogh via fpc-devel
Hi, On Sat, 29 Jan 2022, Thorsten Otto via fpc-devel wrote: >> Again, this isn't a generic problem, but Atari specific. > > Yes, but theoretically, win32 should have the same problem. As far as > i've seen, ReadFile() is used there. but fpc_readln_end() tries to read > until it encounters a LF, a

Re: [fpc-devel] Questions regarding m68k-atari target

2022-01-29 Thread Thorsten Otto via fpc-devel
On Samstag, 29. Januar 2022 14:55:30 CET Karoly Balogh wrote: >Yes, but changing this is not trivial in platform independent code, It doesn't have to, if it can be fixed in fpc_readln_end(). > Maybe Sven or someone can say more about the Windows analogy, I'm not > familiar there. Thats somethin

Re: [fpc-devel] Questions regarding m68k-atari target

2022-01-29 Thread Tomas Hajny via fpc-devel
On 2022-01-29 15:05, Thorsten Otto via fpc-devel wrote: On Samstag, 29. Januar 2022 14:55:30 CET Karoly Balogh wrote: Yes, but changing this is not trivial in platform independent code, It doesn't have to, if it can be fixed in fpc_readln_end(). Maybe Sven or someone can say more about the