Search found 26 matches

by Chord
Sat Aug 03, 2019 1:13 pm
Forum: Graphics
Topic: Ultibo game programming
Replies: 75
Views: 38701

Re: Ultibo game programming

Agree with hansotten.
by Chord
Mon Jun 24, 2019 1:01 pm
Forum: General
Topic: Conditional compilation by Target controller?
Replies: 3
Views: 4383

Re: Conditional compilation by Target controller?

Self found, use this: {$IFNDEF PLATFORM_PI3} {$IFNDEF PLATFORM_PI2} {$DEFINE PLATFORM_QEMU} {$ENDIF} {$ENDIF} uses {$IFDEF PLATFORM_PI2} RaspberryPi2, {$ENDIF} {$IFDEF PLATFORM_PI3} RaspberryPi3, {$ENDIF} {$IFDEF PLATFORM_QEMU} QEMUVersatilePB, {$ENDIF} Now code is adaptive by compile target.
by Chord
Thu Apr 11, 2019 2:36 pm
Forum: General
Topic: Conditional compilation by Target controller?
Replies: 3
Views: 4383

Conditional compilation by Target controller?

Usually ultibo source has specific unit file by its target controller.

for example :
for QEMUVPB,

Code: Select all

uses
  QEMUVersatilePB,

for RPI3B,

Code: Select all

uses
  RaspberryPi3,


Does pascal has something can automatically choose its line to compile by project's target controller, like C's preprocessor?
by Chord
Sun Jun 03, 2018 5:18 am
Forum: Feature requests
Topic: Full / Half width character glyph in console
Replies: 1
Views: 4165

Full / Half width character glyph in console

In many asian languages, letter glyph is designed in square shaped and fits in two times wider space of fixed-width alphabet. (ex: 8x16 roman, 16x16 Chinese) https://upload.wikimedia.org/wikipedia/commons/a/a8/Command_Prompt_on_Windows_XP_%28Korean%29.png https://en.wikipedia.org/wiki/Halfwidth_and_...
by Chord
Wed Apr 25, 2018 12:58 pm
Forum: General
Topic: How to config QEMU kernel.bin path in Lazarus?
Replies: 3
Views: 931

Re: How to config QEMU kernel.bin path in Lazarus?

Self answer : Lazarus fails to run QEMU when path contains blank character.
I still do not know how to make it possible to run with path containing blank letter(space), but anyway at least I can rename directory to fix.
by Chord
Tue Apr 24, 2018 1:23 pm
Forum: General
Topic: How to config QEMU kernel.bin path in Lazarus?
Replies: 3
Views: 931

How to config QEMU kernel.bin path in Lazarus?

Sometimes Lazarus says that it could not find kernel.bin when I tried to run QEMU after copying (and renaming) project folder to other location. It works again after renaming project folder same as previous, but how can I change folder name when I want to? I couldn't find project setting or source c...
by Chord
Sun Feb 25, 2018 2:18 pm
Forum: General
Topic: What does Turbo functions do?
Replies: 1
Views: 580

What does Turbo functions do?

There are two functions in unit Platform:

Turbo get state

Code: Select all

TTurboGetState = function(TurboId:LongWord):LongWord;   


Turbo set state

Code: Select all

TTurboSetState = function(TurboId,State:LongWord):LongWord;   


What does they do?
by Chord
Fri Feb 16, 2018 8:01 am
Forum: Bug reports
Topic: Console window rows
Replies: 1
Views: 4280

Console window rows

Number of console window row is fixed regardless of font size, results shrunken height when smaller font applied.
by Chord
Mon Oct 09, 2017 3:11 pm
Forum: General
Topic: Can access filesystem in QEMU emulation?
Replies: 1
Views: 683

Can access filesystem in QEMU emulation?

QEMU halts at

Code: Select all

DirectoryExists ('C:\')


Can I access filesystem in QEMU? If so, where's the root?
by Chord
Mon Oct 09, 2017 2:58 pm
Forum: Graphics
Topic: HOWTO: Use true type fonts (and others) to render text on Graphics Window
Replies: 11
Views: 2903

Re: HOWTO: Use true type fonts (and others) to render text on Graphics Window

Of course I tried the approach firstly, but unfortunately UnicodeString didn't pass proper character code for unicode. Despite of several experiments ultibo-bundled freepascal datatype seems not parse literals of source code(UTF-8 formatted) properly, returns just single byte raw data anyhow. Examp...

Go to advanced search