mirror of
https://github.com/irmen/prog8.git
synced 2025-01-11 13:29:45 +00:00
ofcourse -> of course
This commit is contained in:
parent
42ae935496
commit
abfb345503
@ -176,7 +176,7 @@ If you're scared of Oracle's licensing terms, most Linux distributions ship Open
|
|||||||
For Windows it's possible to get that as well; check out `AdoptOpenJDK <https://adoptopenjdk.net/>`_ .
|
For Windows it's possible to get that as well; check out `AdoptOpenJDK <https://adoptopenjdk.net/>`_ .
|
||||||
For MacOS you can use the Homebrew system to install a recent version of OpenJDK.
|
For MacOS you can use the Homebrew system to install a recent version of OpenJDK.
|
||||||
|
|
||||||
Finally: an **emulator** (or a real machine ofcourse) to test and run your programs on.
|
Finally: an **emulator** (or a real machine of course) to test and run your programs on.
|
||||||
In C64 mode, the compiler assumes the presence of the `Vice emulator <http://vice-emu.sourceforge.net/>`_.
|
In C64 mode, the compiler assumes the presence of the `Vice emulator <http://vice-emu.sourceforge.net/>`_.
|
||||||
If you're targeting the CommanderX16 instead, there's a choice of the official `x16emu <https://github.com/commanderx16/x16-emulator>`_
|
If you're targeting the CommanderX16 instead, there's a choice of the official `x16emu <https://github.com/commanderx16/x16-emulator>`_
|
||||||
and the unofficial `box16 <https://github.com/indigodarkwolf/box16>`_ (you can select which one you want to launch
|
and the unofficial `box16 <https://github.com/indigodarkwolf/box16>`_ (you can select which one you want to launch
|
||||||
|
@ -74,7 +74,7 @@ the new target system.
|
|||||||
|
|
||||||
There are several other support libraries that you may want to port (``diskio``, ``graphics`` to name a few).
|
There are several other support libraries that you may want to port (``diskio``, ``graphics`` to name a few).
|
||||||
|
|
||||||
Also ofcourse if there are unique things available on the new target system, don't hesitate to provide
|
Also of course if there are unique things available on the new target system, don't hesitate to provide
|
||||||
extensions to the ``syslib`` or perhaps a new special custom library altogether.
|
extensions to the ``syslib`` or perhaps a new special custom library altogether.
|
||||||
|
|
||||||
|
|
||||||
|
@ -150,7 +150,7 @@ Directives
|
|||||||
The assembler will include the file as raw assembly source text at this point,
|
The assembler will include the file as raw assembly source text at this point,
|
||||||
prog8 will not process this at all. Symbols defined in the included assembly can not be referenced
|
prog8 will not process this at all. Symbols defined in the included assembly can not be referenced
|
||||||
from prog8 code. However they can be referenced from other assembly code if properly prefixed.
|
from prog8 code. However they can be referenced from other assembly code if properly prefixed.
|
||||||
You can ofcourse use a label in your prog8 code just before the %asminclude directive, and reference
|
You can of course use a label in your prog8 code just before the %asminclude directive, and reference
|
||||||
that particular label to get to (the start of) the included assembly.
|
that particular label to get to (the start of) the included assembly.
|
||||||
Be careful: you risk symbol redefinitions or duplications if you include a piece of
|
Be careful: you risk symbol redefinitions or duplications if you include a piece of
|
||||||
assembly into a prog8 block that already defines symbols itself.
|
assembly into a prog8 block that already defines symbols itself.
|
||||||
|
@ -7,7 +7,7 @@ All variables are static in memory
|
|||||||
|
|
||||||
All variables are allocated statically, there is no concept of dynamic heap or stack frames.
|
All variables are allocated statically, there is no concept of dynamic heap or stack frames.
|
||||||
Essentially all variables are global (but scoped) and can be accessed and modified anywhere,
|
Essentially all variables are global (but scoped) and can be accessed and modified anywhere,
|
||||||
but care should be taken ofcourse to avoid unexpected side effects.
|
but care should be taken of course to avoid unexpected side effects.
|
||||||
|
|
||||||
Especially when you're dealing with interrupts or re-entrant routines: don't modify variables
|
Especially when you're dealing with interrupts or re-entrant routines: don't modify variables
|
||||||
that you not own or else you will break stuff.
|
that you not own or else you will break stuff.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user