Re: [fpc-pascal] FPC on gaming consoles: XBox One, PlayStation 4, Nintendo Switch

2018-05-09 Thread Michalis Kamburelis
2018-05-10 4:08 GMT+02:00 Marco van de Voort : > In our previous episode, Michalis Kamburelis said: >> >> 1. XBox One. It uses an operating system based on Windows 10. As such, >> maybe compiling FPC programs for it is already possible (or is easy to >> add)? Maybe I can even just run a normal Wind

Re: [fpc-pascal] FPC on gaming consoles: XBox One, PlayStation 4, Nintendo Switch

2018-05-09 Thread Michalis Kamburelis
2018-05-10 4:05 GMT+02:00 Dmitry Boyarintsev : > On Wed, May 9, 2018 at 9:38 PM, Michalis Kamburelis > wrote: >> >> This would mean that it is impossible to openly distribute an open-source >> code interfacing with e.g. PlayStation custom OS. Precluding open-source >> support from both FPC and Cas

Re: [fpc-pascal] FPC on gaming consoles: XBox One, PlayStation 4, Nintendo Switch

2018-05-09 Thread R0b0t1
On Wed, May 9, 2018 at 5:41 PM, Michalis Kamburelis wrote: > Hi, > > I am wondering about the possibility to port Castle Game Engine to > modern gaming consoles. > Having tried to run my own code on these platforms for many years I have come to the conclusion that any interaction with the platfor

Re: [fpc-pascal] FPC on gaming consoles: XBox One, PlayStation 4, Nintendo Switch

2018-05-09 Thread Marco van de Voort
In our previous episode, Michalis Kamburelis said: > > 1. XBox One. It uses an operating system based on Windows 10. As such, > maybe compiling FPC programs for it is already possible (or is easy to > add)? Maybe I can even just run a normal Windows exe on XBox One? As far as I know Xbox One uses

Re: [fpc-pascal] FPC on gaming consoles: XBox One, PlayStation 4, Nintendo Switch

2018-05-09 Thread Dmitry Boyarintsev
On Wed, May 9, 2018 at 9:38 PM, Michalis Kamburelis < michalis.ka...@gmail.com> wrote: > This would mean that it is impossible to openly distribute an open-source > code interfacing with e.g. PlayStation custom OS. Precluding open-source > support from both FPC and Castle Game Engine for the conso

Re: [fpc-pascal] FPC on gaming consoles: XBox One, PlayStation 4, Nintendo Switch

2018-05-09 Thread Michalis Kamburelis
The more I was reading about console development, the more I understood that the main problem are NDAs that seem to still "guard" the information about each consoles closed APIs. This would mean that it is impossible to openly distribute an open-source code interfacing with e.g. PlayStation custom

[fpc-pascal] FPC on gaming consoles: XBox One, PlayStation 4, Nintendo Switch

2018-05-09 Thread Michalis Kamburelis
Hi, I am wondering about the possibility to port Castle Game Engine to modern gaming consoles. Summary (TL;DR): - Is it possible to use FPC to compile programs/libraries for one of the gaming consoles mentioned in the subject? - If it is not possible *yet*, how easy it would be to add such supp

Re: [fpc-pascal] fpWeb: How can I use heaptrc in standalone mode?

2018-05-09 Thread Michael Van Canneyt
On Wed, 9 May 2018, Marcos Douglas B. Santos wrote: On Wed, May 9, 2018 at 9:31 AM, Michael Van Canneyt wrote: OK sorry for didn't find this bugreport. Is this fix in fixes_3_0 ? I do not know, presumably not. For "new things" I use to use the last version published, just to see that

Re: [fpc-pascal] fpWeb: How can I use heaptrc in standalone mode?

2018-05-09 Thread Marcos Douglas B. Santos
On Wed, May 9, 2018 at 9:31 AM, Michael Van Canneyt wrote: > >> >> OK sorry for didn't find this bugreport. >> Is this fix in fixes_3_0 ? > > > I do not know, presumably not. For "new things" I use to use the last version published, just to see that works. Then, I start to use fixes_3_0. I suppos

Re: [fpc-pascal] fpWeb: How can I use heaptrc in standalone mode?

2018-05-09 Thread Michael Van Canneyt
On Wed, 9 May 2018, Marcos Douglas B. Santos wrote: The memleak is present only in 3.0.4, no longer in trunk. I remembered a similar bugreport by African Wild Dog: https://bugs.freepascal.org/view.php?id=33535 where I had the same conclusion. OK sorry for didn't find this bugreport. Is th

Re: [fpc-pascal] fpWeb: How can I use heaptrc in standalone mode?

2018-05-09 Thread Marcos Douglas B. Santos
On Wed, May 9, 2018 at 3:47 AM, Michael Van Canneyt wrote: > > > On Tue, 8 May 2018, Marcos Douglas B. Santos wrote: > >> On Mon, May 7, 2018 at 6:05 PM, Michael Van Canneyt >> wrote: >>> >>> >>> >>> On Mon, 7 May 2018, Marcos Douglas B. Santos wrote: >>> > Application.Run; > end. >

Re: [fpc-pascal] pas2js Webgl unit committed

2018-05-09 Thread Michael Van Canneyt
On Wed, 9 May 2018, Ryan Joseph wrote: On May 9, 2018, at 1:46 PM, Ryan Joseph wrote: Ok got it working now finally. Now I need to learn how to do anything at all besides writeln. :) Finally got a context open and working. Next things: 1) what’s the best way to handle long strings? in

Re: [fpc-pascal] pas2js Webgl unit committed

2018-05-09 Thread Mattias Gaertner
On Wed, 9 May 2018 15:42:41 +0700 Ryan Joseph wrote: >[...] > On May 9, 2018, at 1:46 PM, Ryan Joseph >wrote: > > > > Ok got it working now finally. Now I need to learn how to do anything at > > all besides writeln. :) > > Finally got a context open and working. Next things: These questio

Re: [fpc-pascal] pas2js Webgl unit committed

2018-05-09 Thread Ryan Joseph
> On May 9, 2018, at 1:46 PM, Ryan Joseph wrote: > > Ok got it working now finally. Now I need to learn how to do anything at all > besides writeln. :) Finally got a context open and working. Next things: 1) what’s the best way to handle long strings? in JS they’ll loading text from divs bu

Re: [fpc-pascal] fpWeb: How can I use heaptrc in standalone mode?

2018-05-09 Thread Michael Van Canneyt
On Wed, 9 May 2018, Michael Van Canneyt wrote: Let me know if you need a tester or more information. I tested it. The memleak is present only in 3.0.4, no longer in trunk. I remembered a similar bugreport by African Wild Dog: https://bugs.freepascal.org/view.php?id=33535 where I had the

Re: [fpc-pascal] pas2js Webgl unit committed

2018-05-09 Thread Michael Van Canneyt
On Wed, 9 May 2018, Ryan Joseph wrote: On May 9, 2018, at 1:25 PM, Mattias Gaertner wrote: The -Ji option searches in the unit search path. In the svn the rtl.js is only in "compiler/utils/pas2js/dist/rtl.js". So you need to add a -Fu. In the release it is in "packages/rtl/rtl.js" as well

Re: [fpc-pascal] pas2js Webgl unit committed

2018-05-09 Thread Ryan Joseph
> On May 9, 2018, at 1:25 PM, Mattias Gaertner > wrote: > > The -Ji option searches in the unit search path. In the svn the rtl.js > is only in "compiler/utils/pas2js/dist/rtl.js". So you need to add a > -Fu. > In the release it is in "packages/rtl/rtl.js" as well, so it can be > found without