?login_element?

Subversion Repositories NedoOS

Rev

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

  1. PROC prspr FORWARD(BYTE x, BYTE y, PBYTE data); //draw sprite in scrbuf
  2. PROC respr FORWARD(BYTE x, BYTE y, PBYTE data); //restore scrbuf under sprite from tilemap
  3. PROC prtilebox FORWARD(BYTE x8, BYTE y8, BYTE wid8, BYTE hgt8); //update scrbuf from portion of tilemap
  4. PROC pretile FORWARD(BYTE x8, BYTE y8, BYTE wid8, BYTE hgt8, PBYTE data); //draw tilebox in tilemap (not in scrbuf)
  5. PROC showscr FORWARD(); //copy scrbuf to screen
  6. PROC clearscrbuf FORWARD(BYTE attr); //clear scrbuf
  7. PROC cleartilemap FORWARD(PBYTE tileaddr); //clear tilemap
  8. FUNC BOOL readpix FORWARD(BYTE x, BYTE y); //read pixel from scrbuf
  9. PROC setpixscrbuf FORWARD(BYTE x, BYTE y, BYTE color); //set/reset pixel in scrbuf
  10. PROC setpix FORWARD(BYTE x, BYTE y, BYTE color); //set/reset pixel on screen
  11. PROC invpixscrbuf FORWARD(BYTE x, BYTE y); //invert pixel in scrbuf
  12. PROC onpixscrbuf FORWARD(BYTE x, BYTE y); //set pixel in scrbuf
  13. PROC offpixscrbuf FORWARD(BYTE x, BYTE y); //reset pixel in scrbuf
  14. PROC invpix FORWARD(BYTE x, BYTE y); //invert pixel on screen
  15. PROC onpix FORWARD(BYTE x, BYTE y); //set pixel on screen
  16. PROC offpix FORWARD(BYTE x, BYTE y); //reset pixel on screen
  17.  
  18. //do define:
  19. //scraddr = 0x4000/6000/c000
  20. //scrtop = scraddr + ...
  21. //scrbuf = divisible by 0x800
  22. //tilemap (size 0xc00)
  23.