?login_element?

Subversion Repositories NedoOS

Rev

Blame | Last modification | View Log | Download

  1.     lua allpass
  2.         sj.set_device()
  3.         _pc("ORG $8000")
  4.         sj.add_byte(0)
  5.         _pc("ORG $FFFF")
  6.         sj.add_byte(2)
  7.         sj.add_byte(0xBA)    -- warning about exceeding memory limit
  8.         _pc("ORG $C000")
  9.         sj.add_byte(1)
  10.  
  11.         sj.set_device("ZXSPECTRUM48", 0x5FFF)
  12.         _pc("ORG $8000")
  13.         sj.add_byte(0)
  14.         _pc("ORG $FFFF")
  15.         sj.add_byte(2)
  16.         sj.add_byte(0xBA)    -- error about exceeding device memory limit
  17.         _pc("ORG $C000")
  18.         sj.add_byte(1)
  19.     endlua
  20.