?login_element?

Subversion Repositories NedoOS

Rev

Rev 126 | Blame | Compare with Previous | Last modification | View Log | Download

  1.     ; when only single DEVICE directive is used in whole source, the DEVICE becomes "global"
  2.  
  3.     ; do device-only things before declaring actual DEVICE
  4.     ORG 0x8000
  5. binStart:
  6.     BLOCK   8, 8        ; 8x value 8
  7. binEnd:
  8.     SAVEBIN "single_device.bin", 0x8000, binEnd-binStart
  9.  
  10.     ; set ZX48 as global device
  11.     DEVICE ZXSPECTRUM48
  12.