diff --git a/README.md b/README.md index 80ca8a0cc..aac8b5b1c 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ What use Prog8 provide? - "c64": Commodore-64 (6510 CPU = almost a 6502) premium support. - "cx16": [CommanderX16](https://www.commanderx16.com) (65c02 CPU) experimental support. - +- If you only use standard kernel and prog8 library routines, it is possible to compile the *exact same program* for both machines (just change the compiler target flag)! diff --git a/docs/source/index.rst b/docs/source/index.rst index fdcebf2e9..aa55250e6 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -126,6 +126,7 @@ Design principles and features the ability to easily write embedded assembly code directly in the program source code. - There are many built-in functions, such as ``sin``, ``cos``, ``rnd``, ``abs``, ``min``, ``max``, ``sqrt``, ``msb``, ``rol``, ``ror``, ``swap``, ``memset``, ``memcopy``, ``substr``, ``sort`` and ``reverse`` (and others) - Assembling the generated code into a program wil be done by an external cross-assembler tool. +- If you only use standard kernel and prog8 library routines, it is possible to compile the *exact same program* for both machines (just change the compiler target flag)! .. _requirements: diff --git a/docs/source/targetsystem.rst b/docs/source/targetsystem.rst index 98ed20edc..ea18b6ad1 100644 --- a/docs/source/targetsystem.rst +++ b/docs/source/targetsystem.rst @@ -16,6 +16,9 @@ Currently there are two machines that are supported as compiler target (selectab This chapter explains the relevant system details of these machines. +.. note:: + If you only use standard kernel and prog8 library routines, it is possible to compile the *exact same program* for both machines (just change the compiler target flag)! + Memory Model ============