Advertisement
Comatose-1990

DCPU-32 Internet connection checker

Sep 21st, 2013
3,500
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. REM Turn on monitor
  2. SET A, 0
  3. SET B, 0x8000
  4. HWI 0
  5.  
  6. REM Connecting...
  7. SET [0x8000], 0x1943
  8. SET [0x8001], 0x196f
  9. SET [0x8002], 0x196e
  10. SET [0x8003], 0x196e
  11. SET [0x8004], 0x1965
  12. SET [0x8005], 0x1963
  13. SET [0x8006], 0x1974
  14. SET [0x8007], 0x1969
  15. SET [0x8008], 0x196e
  16. SET [0x8009], 0x1967
  17. SET [0x800a], 0x192e
  18. SET [0x800b], 0x192e
  19. SET [0x800c], 0x192e
  20.  
  21. SET A, 0xa
  22. waitForConnection:
  23. HWI 4
  24. IFE B, 0xffff
  25.   MOV waitForConnection
  26.  
  27. REM Connected
  28. SET [0x8000], 0x1943
  29. SET [0x8001], 0x196f
  30. SET [0x8002], 0x196e
  31. SET [0x8003], 0x196e
  32. SET [0x8004], 0x1965
  33. SET [0x8005], 0x1963
  34. SET [0x8006], 0x1974
  35. SET [0x8007], 0x1965
  36. SET [0x8008], 0x1964
  37. SET [0x8009], 0x1920
  38. SET [0x800a], 0x1920
  39. SET [0x800b], 0x1920
  40. SET [0x800c], 0x1920
  41.  
  42. HNG
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement