Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

24 lines
981B

  1. # E05-S02: build the class descriptor/object fixture and its x128 disk.
  2. [CmdletBinding()]
  3. param()
  4. $ErrorActionPreference = "Stop"
  5. $project = Split-Path $PSScriptRoot -Parent
  6. Import-Module (Join-Path $PSScriptRoot "lib\Nova128Test.psm1") -Force
  7. $out = Join-Path $project "build\class-test"
  8. $link = Invoke-Nova128Link -Name "class-test" -BuildDir $out `
  9. -Config (Join-Path $project "cfg\compiler.cfg") -Sources @(
  10. (Join-Path $project "src\compiler\mmu.s"),
  11. (Join-Path $project "src\compiler\diskio.s"),
  12. (Join-Path $project "src\compiler\output.s"),
  13. (Join-Path $project "src\runtime\startup.s"),
  14. (Join-Path $project "src\runtime\objects.s"),
  15. (Join-Path $project "tests\runtime\class-test.s"))
  16. New-Nova128Disk -Path (Join-Path $out "class-test.d81") -Files @(
  17. @{ Name = "CLASSTEST"; Path = $link.Program; Type = "prg" })
  18. Write-Host ("built {0}" -f $link.Program)
  19. Write-Host ("disk {0}" -f (Join-Path $out "class-test.d81"))

Powered by TurnKey Linux.