2024-07-08 18:31:49 +02:00
|
|
|
@echo off
|
|
|
|
setlocal
|
|
|
|
|
|
|
|
rem /n removes array bounds checks and must be after the source file
|
|
|
|
ntvdm ada %1.ada /n
|
|
|
|
ntvdm linklib %1
|
|
|
|
|
|
|
|
rem interpreter
|
|
|
|
ntvdm -c -p ai %1
|
|
|
|
|
|
|
|
rem native code. I've found a86 to be buggy.
|
2024-07-08 22:22:02 +02:00
|
|
|
rem note: a86 produces bad code for the stock ttt.ada so the board is passed as an argument.
|
|
|
|
rem note2: a86 produces bad code for the stock e.ada so more locals were added to reduce complexity.
|
2024-07-08 18:31:49 +02:00
|
|
|
del %1.exe 2>nul
|
|
|
|
ntvdm a86 %1.axe /n
|
|
|
|
ntvdm -c -p %1.exe
|
|
|
|
|
|
|
|
|