Re: [fpc-devel] FPC and Z80

2020-06-24 Thread Sven Barth via fpc-devel
Am 23.06.2020 um 18:59 schrieb popolon...@popolony2k.com.br: Thanks a lot. Everything is working fine. I compiled my first FPC code (simple hello world)  to MSX-DOS2 and is working fine. Good to know. :) The only thing I realized, is something someone here wrote before, that is the size of

Re: [fpc-devel] FPC and Z80

2020-06-23 Thread nickysn--- via fpc-devel
On Tue, 2020-06-23 at 13:59 -0300, popolon...@popolony2k.com.br wrote: > FPC Team. > > > > Thanks a lot. Everything is working fine. I compiled my first FPC > code (simple hello world) to MSX-DOS2 and is working fine. > > The only thing I realized, is something someone here wrote before, >

Re: [fpc-devel] FPC and Z80

2020-06-23 Thread popolony2k
FPC Team. Thanks a lot. Everything is working fine. I compiled my first FPC code (simple hello world) to MSX-DOS2 and is working fine. The only thing I realized, is something someone here wrote before, that is the size of generated binary (37 Kb considering this simple program) I really don't

Re: [fpc-devel] FPC and Z80

2020-06-23 Thread popolony2k
Hi Sven thank you. I had read wiki and understood the same as you explained here. Now I'm using another machine based on Debian, instead my other machine based on Mint and seems that worked like you wrote. Now I built everything and I checked these generated files on RTL and compiler

Re: [fpc-devel] FPC and Z80

2020-06-23 Thread Christo Crause via fpc-devel
On Tue, 23 Jun 2020, 17:18 , wrote: > Hi Christo, > > I'm using exactly trunk, as written in article, but for MSXDOS target > isn't working as seen in logs I sent before. But when I build FPC for > spectrum as target, everything works fine (100% compiling successful). > OK, I was confused by the

Re: [fpc-devel] FPC and Z80

2020-06-23 Thread popolony2k
Yes I'm using trunk. Sorry by my mistake on first email. PopolonY2k Em 23/06/2020 12:12, Sven Barth via fpc-devel escreveu: > Christo Crause schrieb am Di., 23. Juni 2020, > 16:37: > > On Tue, Jun 23, 2020 at 3:56 PM wrote: > > Hi FPC team. > > I'm trying to compile a FPC 3.2 with

Re: [fpc-devel] FPC and Z80

2020-06-23 Thread popolony2k
Hi Christo, I'm using exactly trunk, as written in article, but for MSXDOS target isn't working as seen in logs I sent before. But when I build FPC for spectrum as target, everything works fine (100% compiling successful). PopolonY2k Em 23/06/2020 11:37, Christo Crause via fpc-devel escreveu:

Re: [fpc-devel] FPC and Z80

2020-06-23 Thread Sven Barth via fpc-devel
Christo Crause schrieb am Di., 23. Juni 2020, 16:37: > On Tue, Jun 23, 2020 at 3:56 PM wrote: > >> Hi FPC team. >> >> I'm trying to compile a FPC 3.2 with support to Z80/MSXDOS, for linux and >> almost everything seems to be compiling fine, because the compiler was >> generated but RTL was not.

Re: [fpc-devel] FPC and Z80

2020-06-23 Thread Sven Barth via fpc-devel
schrieb am Di., 23. Juni 2020, 15:56: > Hi FPC team. > > I'm trying to compile a FPC 3.2 with support to Z80/MSXDOS, for linux and > almost everything seems to be compiling fine, because the compiler was > generated but RTL was not. > > I'm using the same build script of zxspectrum (I just

Re: [fpc-devel] FPC and Z80

2020-06-23 Thread Christo Crause via fpc-devel
On Tue, Jun 23, 2020 at 3:56 PM wrote: > Hi FPC team. > > I'm trying to compile a FPC 3.2 with support to Z80/MSXDOS, for linux and > almost everything seems to be compiling fine, because the compiler was > generated but RTL was not. > > AFAIK Z80 support is not included in the stable

Re: [fpc-devel] FPC and Z80

2020-06-23 Thread popolony2k
Hi FPC team. I'm trying to compile a FPC 3.2 with support to Z80/MSXDOS, for linux and almost everything seems to be compiling fine, because the compiler was generated but RTL was not. I'm using the same build script of zxspectrum (I just changed OS_VERSION to MSXDOS) that can be reached here

Re: [fpc-devel] FPC and Z80

2020-06-09 Thread Sven Barth via fpc-devel
PopolonY2K schrieb am Mi., 10. Juni 2020, 00:38: > Thank you. > > My library is very complete, 100% MSXBIOS, MSXDOS and MSXDOS2, Memory > mapper and several others implementations ready, but they are working just > with TP3. > > Features like Inline code are provided by FPC by using Asm/EndAsm.

Re: [fpc-devel] FPC and Z80

2020-06-09 Thread PopolonY2K
Thank you. My library is very complete, 100% MSXBIOS, MSXDOS and MSXDOS2, Memory mapper and several others implementations ready, but they are working just with TP3. Features like Inline code are provided by FPC by using Asm/EndAsm. But how to deal with absolute variables in FPC ? I think in

Re: [fpc-devel] FPC and Z80

2020-06-09 Thread Sven Barth via fpc-devel
PopolonY2K schrieb am Di., 9. Juni 2020, 16:03: > Thanks. > > I'll start porting all Turbo Pascal 3 library compatible, to FPC using > units. > Great! If you find any problems, please don't hesitate to report them either here or on the bugtracker at bugs.freepascal.org :) And if you have any

Re: [fpc-devel] FPC and Z80

2020-06-09 Thread PopolonY2K
Thanks. I'll start porting all Turbo Pascal 3 library compatible, to FPC using units. Regards Leidson Campos. Em 7 de junho de 2020 09:39:43 BRT, Sven Barth via fpc-devel escreveu: >Am 16.04.2020 um 11:04 schrieb Guillermo: >> Thanks Swen. >> >> I see last commit was 2 days ago so it is

Re: [fpc-devel] FPC and Z80

2020-06-07 Thread Sven Barth via fpc-devel
Am 16.04.2020 um 11:04 schrieb Guillermo: Thanks Swen. I see last commit was 2 days ago so it is active. I would like to know who is responsible to speak to him. May be I can help with the MSX target, but I need gidance about the internals of the compiler (I tried but it is beyond my

Re: [fpc-devel] FPC and Z80

2020-04-27 Thread Marco van de Voort
Op 2020-04-27 om 21:24 schreef Florian Klämpfl: Well, for 6502 working 16-bit ptr indirect via volatile zp memory locations needs to be implemented anyway :-) Does that CPU have no hardware stack at all, or only limited (128/256 bytes or so?) It has a full stack but too little registers to

Re: [fpc-devel] FPC and Z80

2020-04-27 Thread Florian Klämpfl
Am 27.04.20 um 21:12 schrieb Marco van de Voort: Op 2020-04-27 om 18:28 schreef Florian Klaempfl: I have no idea, but quickly read through some docs, and it seems the GameBoy CPU doesn't have IX/IY registers, which seems to be very useful to implement some of the more complex references

Re: [fpc-devel] FPC and Z80

2020-04-27 Thread Marco van de Voort
Op 2020-04-27 om 18:28 schreef Florian Klaempfl: I have no idea, but quickly read through some docs, and it seems the GameBoy CPU doesn't have IX/IY registers, which seems to be very useful to implement some of the more complex references handling, according to what Nikolay wrote earlier.

Re: [fpc-devel] FPC and Z80

2020-04-27 Thread Sven Barth via fpc-devel
Florian Klaempfl schrieb am Mo., 27. Apr. 2020, 18:28: > Am 27.04.2020 um 17:52 schrieb Karoly Balogh (Charlie/SGR): > > Hi, > > > > On Mon, 27 Apr 2020, Sven Barth via fpc-devel wrote: > > > >>> Well, I'm surprised and impressed you got it to work at all... > >>> Quite an achievement. > >> > >>

Re: [fpc-devel] FPC and Z80

2020-04-27 Thread Florian Klaempfl
Am 27.04.2020 um 17:52 schrieb Karoly Balogh (Charlie/SGR): Hi, On Mon, 27 Apr 2020, Sven Barth via fpc-devel wrote: Well, I'm surprised and impressed you got it to work at all... Quite an achievement. Considering that we already support AVR as well I was rather confident here. :D Maybe in

Re: [fpc-devel] FPC and Z80

2020-04-27 Thread nickysn--- via fpc-devel
On Mon, 2020-04-27 at 17:52 +0200, Karoly Balogh (Charlie/SGR) wrote: > Hi, > > On Mon, 27 Apr 2020, Sven Barth via fpc-devel wrote: > > >> Well, I'm surprised and impressed you got it to work at all... > >> Quite an achievement. > > > > Considering that we already support AVR as well I was

Re: [fpc-devel] FPC and Z80

2020-04-27 Thread J. Gareth Moreton
I'm kind of impressed actually that you're going out of your way to support older consoles and workstations.  It's certainly good for hobbyist development.  It's a shame that so many modern consoles have NDAs and physical measures to prevent homebrew software.  I still feel sad that the OUYA

Re: [fpc-devel] FPC and Z80

2020-04-27 Thread Karoly Balogh (Charlie/SGR)
Hi, On Mon, 27 Apr 2020, Sven Barth via fpc-devel wrote: >> Well, I'm surprised and impressed you got it to work at all... >> Quite an achievement. > > Considering that we already support AVR as well I was rather confident > here. :D Maybe in the future we can also add GameBoy support which uses

Re: [fpc-devel] FPC and Z80

2020-04-27 Thread Sven Barth via fpc-devel
Michael Van Canneyt schrieb am Mo., 27. Apr. 2020, 15:40: > > > On Mon, 27 Apr 2020, nickysn--- via fpc-devel wrote: > > > Last night, I got the full system unit to compile, including console > > output, so now you can use standard write/writeln. Unfortunately if you > > include both read/readln

Re: [fpc-devel] FPC and Z80

2020-04-27 Thread Florian Klaempfl
Am 27.04.2020 um 15:37 schrieb nickysn--- via fpc-devel: On Mon, 2020-04-20 at 17:07 +0300, nick...@gmail.com wrote: On Thu, 2020-04-16 at 11:04 +0200, Guillermo wrote: Thanks Swen. I see last commit was 2 days ago so it is active. I would like to know who is responsible to speak to him. May

Re: [fpc-devel] FPC and Z80

2020-04-27 Thread nickysn--- via fpc-devel
On Mon, 2020-04-27 at 15:40 +0200, Michael Van Canneyt wrote: > > On Mon, 27 Apr 2020, nickysn--- via fpc-devel wrote: > > > Last night, I got the full system unit to compile, including > > console > > output, so now you can use standard write/writeln. Unfortunately if > > you > > include both

Re: [fpc-devel] FPC and Z80

2020-04-27 Thread Michael Van Canneyt
On Mon, 27 Apr 2020, nickysn--- via fpc-devel wrote: Last night, I got the full system unit to compile, including console output, so now you can use standard write/writeln. Unfortunately if you include both read/readln and write/writeln in your program, the program becomes too big to fit in

Re: [fpc-devel] FPC and Z80

2020-04-27 Thread nickysn--- via fpc-devel
On Mon, 2020-04-20 at 17:07 +0300, nick...@gmail.com wrote: > On Thu, 2020-04-16 at 11:04 +0200, Guillermo wrote: > > Thanks Swen. > > > > I see last commit was 2 days ago so it is active. I would like to > > know > > who is responsible to speak to him. May be I can help with the MSX > > target,

Re: [fpc-devel] FPC and Z80

2020-04-20 Thread nickysn--- via fpc-devel
On Thu, 2020-04-16 at 11:04 +0200, Guillermo wrote: > Thanks Swen. > > I see last commit was 2 days ago so it is active. I would like to > know > who is responsible to speak to him. May be I can help with the MSX > target, but I need gidance about the internals of the compiler (I > tried > but

Re: [fpc-devel] FPC and Z80

2020-04-20 Thread nickysn--- via fpc-devel
On Thu, 2020-04-16 at 11:04 +0200, Guillermo wrote: > Thanks Swen. > > I see last commit was 2 days ago so it is active. I would like to > know > who is responsible to speak to him. May be I can help with the MSX > target, but I need gidance about the internals of the compiler (I > tried > but

Re: [fpc-devel] FPC and Z80

2020-04-19 Thread Joao Schuler
I think that you'll find some interesting links on this thread: https://forum.lazarus.freepascal.org/index.php/topic,38569.msg262288.html#msg262288 ___ fpc-devel maillist - fpc-devel@lists.freepascal.org

Re: [fpc-devel] FPC and Z80

2020-04-19 Thread Florian Klämpfl
Am 16.04.20 um 11:04 schrieb Guillermo: Thanks Swen. I see last commit was 2 days ago so it is active. I would like to know who is responsible to speak to him. May be I can help with the MSX target, but I need gidance about the internals of the compiler (I tried but it is beyond my

Re: [fpc-devel] FPC and Z80

2020-04-17 Thread Guillermo
Thanks Swen. I see last commit was 2 days ago so it is active. I would like to know who is responsible to speak to him. May be I can help with the MSX target, but I need gidance about the internals of the compiler (I tried but it is beyond my comprehension right now). Guillermo M. El Tue, 14

Re: [fpc-devel] FPC and Z80

2020-04-14 Thread Sven Barth via fpc-devel
Am 13.04.2020 um 13:08 schrieb Guillermo: Hi Pascaloids, I've read in the web forums[1] that FPC may include Zylog Z80 as target, specifically Sinclair's micro computers, but looking at the SVN[2] I don't see any Z80 reference. It's currently in development in a branch:

Re: [fpc-devel] FPC and Z80

2020-04-14 Thread Christo Crause via fpc-devel
On Tue, 14 Apr 2020, 08:29 Guillermo, wrote: > Hi Pascaloids, > > I've read in the web forums[1] that FPC may include Zylog Z80 as > target, specifically Sinclair's micro computers, but looking at the > SVN[2] I don't see any Z80 reference. > Look in this branch: