Changeset 186 for trunk/include/asm.inc


Ignore:
Timestamp:
Nov 7, 2017, 7:12:52 AM (8 years ago)
Author:
Ben Rietbroek
Message:

Improved language selection [v1.1.1-testing]

The old method copied the language specific files to a central location
before starting the build. This is a bit annoying when using version
control because the copied files get marked as changed, blurring the
current state of the work directory. Also, the specific language files
from the last build are always the active ones.

The new method conditionally includes the specific language files based
upon the BLD_LANG definition, which is passed on the cli. No more file
copying for specific language builds.

CAUTION:
This is a testbuild !
AirBoot uses the BIOS to access disks and a small coding error can trash
partition tables or other vital disk structures. You are advised to make
backups of TRACK0 and EBRs before using this testbuild. More info at:
https://rousseaux.github.io/netlabs.air-boot/pdf/AirBoot-v1.1.0-manual.pdf

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/asm.inc

    r122 r186  
    247247
    248248
     249;
     250; This macro composes a path and file to load in include file.
     251; It is used to include language specific files by using the BLD_LANG value.
     252;
     253include_from   MACRO   loc,file
     254    include loc/file
     255ENDM
     256
     257
     258;
     259; This macro creates a new symbol ending with '_TXT' which has the value of
     260; the original symbol put in single quotes. It is used to do language specific
     261; actions based on the BLD_LANG value.
     262;
     263enquote   MACRO   symname,symval
     264    symname&_TXT    EQU '&symval&'
     265ENDM
     266
     267
    249268; Shortcuts for pointer-types
    250269bptr                             equ   byte ptr
Note: See TracChangeset for help on using the changeset viewer.