?login_element?

Subversion Repositories NedoOS

Rev

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

  1. EXTERN UINT _TIMER;
  2. EXTERN BYTE _SONGPG;
  3. EXTERN BYTE _CURSCR;
  4. EXTERN BYTE _PAUSED;
  5. PROC setim FORWARD(UINT vectoraddr); //divisible by 0x100 //reserves 0x200 bytes
  6. PROC setimffff FORWARD();
  7. PROC im1 FORWARD(); //im 1:ld i,0x3f
  8. PROC set7ffd FORWARD(BYTE pg); //out (0x7ffd),pg|_CURSCR
  9. PROC setborder FORWARD(BYTE n); //out (0xfe),n
  10. PROC halter FORWARD(); //halt
  11.  
  12. //do define:
  13. //_IMSTACK
  14. //_CURBORDER
  15. //PROC _USERINT1 (before music)
  16. //PROC _USERINT2 (after music)
  17.