Haven't a Pi, yet. But this might help: http://wiki.freepascal.org/Lazarus_on_Raspberry_Pi
Type: Posts; User: Cybermonkey
Haven't a Pi, yet. But this might help: http://wiki.freepascal.org/Lazarus_on_Raspberry_Pi
Never had a problem with that since Ubuntu from 2005... Yesterday I installed the Steam client and I am waiting now for Half Life 2 to be ported ...
Thanks a lot for your help, but I think it isn't worth the effort. I will keep it 32 bit only, it might execute on a 64 bit Linux, too.
EDIT: Ok, i compiled it on a 32 bit Linux and it works fine...
Oops, I didn't know the versions differ so much ... I am not using the latest source of that page although the ASM part is the same ... because on newer versions there are even more problems.
E....
Hm, the funny thing is there is no function basicstring, it's a type ...
TYPE basicstring = AnsiString;
Okay, I changed the code as proposed. This is the [32BIT] part:
Now the error from this code:
p := basicstring(resvalue);
args.outVal.n.sbuf := p;
p^ := ''
It is even worse, "push esi" isn't known either. I added the compiler directive {$asmmode intel}. Now the problems are:
Another problem causes this piece of code (it's obviously Pascal, but i...
Ok, but I learned that "mov EAX" etc. isn't available on 64 bit processors, is it?
Ok, thanks, but I have no clue what you are talking about. ;D The complete code is not by me but by someone else, I just wanted the program to compile with 64 bit Freepascal ...
Okay, this is going to be quite long ...
procedure CallFunction(var n:valrec; fi:integer; needResult:boolean); var arity:integer;
var descriptors:string;
var args:TArgs;
var...
Yes, the flex/bison port for Pascal ships with Freepascal known as pyacc/plex. What I actually want to do is to port an existing BASIC interpreter (ANSI C) based on flex/bison. But this seems a lot...
Since we've got the converting C to Pas thread, I thought some of you are familiar with inline ASM. The reason is that it is obviously 32 bit Assembler. (It is originally written for Delphi but...
Thanks a lot. I really got a plan this time (I love it when a plan comes together ;)).
I would appreciate if you could post a small example on how to use SynEdit to build a compiler/interpreter......
I am looking for a FPC only scripting language, so Pascalscript is not useful since it requires at least Lazarus. I am using Lua in a complete different way, more like Löve does. (Just have a look at...
I don't know how fast PascalScript actually is but Lua beats even some compilers. According to wikipedia it also uses bytecode:
And since the shared library is built with a C compiler it might be...
I looked at the Lua.pas of PhoenixLib, it looks like the Freepascal version. So if you want to have Lua5.2 support, you can try the library on the Lua wiki: http://lua-users.org/wiki/LuaInFreePascal...
Erm, this was posted in the Oxygene for Java board so I am not referring to FreePascal or Delphi here...
I learned on pp4s.co.uk how one can use the free command line compiler. Now I wanted to know if it is possible to use third party libraries (e.g. a Java game engine). And if so, how to do it.
Yes I got the same glitch. Running the demo in fullscreen with chromium 20.0.1132.57 (64 bit Linux) on a six core with 8 GB of RAM and a Radeon HD 7770. I don't think it's because of the hardware ...
Speaking of Oxygene, is it possible to use the free command line compiler with Java game engines? I think you mentioned that you are currently using libgdx with Oxygene, but I don't know if you're...
Oh, that looks amazingly interesting. I'll definitely take a closer look.
Steam is a pain in the b... *cough*. Take Half Life 2 for instance. I bought it on a retail DVD, installed it and thought that's it. How wrong I was! The complete game was downloaded again (several...
Don't forget another big plus: statical linking is allowed on all platforms...
I am using FPC and Geany for developing my engine. Lazarus for the editor. For games I am using most often my own editor with my Lua based engine. At the moment I am learning HTML5/Javascript (since...
I am looking for SDL2 headers, too. But there seems to be no Pascal support as far as I can tell. The only one I found is SDLh.pas for the game Hedgewars but I think SDL2 is only used for the mobile...