home *** CD-ROM | disk | FTP | other *** search
- proc main
- integer nMode = 1
-
- loop:
- waitfor
- "CLR PAD",matchcase then step11,
- ": X",matchcase then step11,
- ": x",matchcase then step11,
- "[Y/n]",matchcase then step12,
- "597-1150",matchcase then neowiz1,
- "チ「シモヌメ シ セタエマエル",matchcase then step13,
- "[Enter] keyクヲ ト。シシソ",matchcase then neowiz2,
- "シアナテ >>",matchcase then neowiz3,
- "OC5>",matchcase then neowiz4,
- "PPPー。",matchcase then done,
- "OC5-HALT",matchcase then BailOut,
- "SLiRP Ready",matchcase then done
- until 20
-
- step11:
- if nMode == 0 then
- nMode = 1
- transmit "1133595477^M"
- goto loop
- endif
-
- nMode = 0
- transmit "neowiz^M"
- goto loop
-
- step12:
- transmit "y^M"
- goto loop
-
- step13:
- transmit "^M"
- goto loop
-
- neowiz1:
- transmit "70^M"
- goto loop
-
- neowiz2:
- transmit "^M"
- goto loop
-
- neowiz3:
- transmit "1^M"
- goto loop
-
- neowiz4:
- $CODE3
- goto loop
-
- BailOut:
- set screen keyboard on
- halt
-
- Done:
- set port databits 8
- set port parity none
-
- endproc
-