Compare commits
2 Commits
fd59a6c934
...
5bc71a3cfe
Author | SHA1 | Date |
---|---|---|
nino-porcino | 5bc71a3cfe | |
nino-porcino | d9863f02f5 |
|
@ -2,9 +2,11 @@
|
|||
@call ..\..\tools\build anagram
|
||||
copy out\anagram.prg ..\..\..\apple1-emu\software\anagram.prg /y
|
||||
copy out\anagram.bin ..\..\..\apple1-emu\software\sdcard_image\PLAB\ANAGRAM#060280 /y
|
||||
node ..\..\tools\wavconv\prg2wav.js -i out\anagram.prg -o out\anagram
|
||||
|
||||
@set TARGET=NOJUKEBOX
|
||||
@call ..\..\tools\build hangman
|
||||
copy out\hangman.prg ..\..\..\apple1-emu\software\hangman.prg /y
|
||||
copy out\hangman.bin ..\..\..\apple1-emu\software\sdcard_image\PLAB\HANGMAN#060280 /y
|
||||
node ..\..\tools\wavconv\prg2wav.js -i out\hangman.prg -o out\hangman
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
@set JAVAEXE="c:\Program Files\Java\jdk1.8.0_161\bin\java.exe"
|
||||
@set JAVAEXE="C:\Program Files\Java\jre1.8.0_311\bin\java.exe"
|
||||
rem @set JAVAEXE="C:\Program Files\Java\jre1.8.0_311\bin\java.exe"
|
||||
|
||||
@set KICKASSJAR="C:\Users\Nino1\Desktop\USB\Retro stuff 2\KickAssembler\KickAss.jar"
|
||||
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
@call ..\..\tools\build tapemon
|
||||
@call node ..\..\tools\prg2bin -i out\tapemon_apple1.prg -o out\tapemon.0280.bin
|
||||
|
||||
@call ..\..\tools\build tapetoggle
|
||||
@call node ..\..\tools\prg2woz -i out\tapetoggle_apple1.prg -o out\tapetoggle.0280.woz
|
||||
@call ..\..\tools\build tapeload
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -133,10 +133,18 @@ void main() {
|
|||
|
||||
woz_puts("\rWHAT TIME IS IT ?\r");
|
||||
|
||||
woz_puts("\r(HOURS ) "); apple1_input_line_prompt(KEYBUF, 2);
|
||||
_hours = (byte) atoi(KEYBUF);
|
||||
woz_puts("\r(MINUTES) "); apple1_input_line_prompt(KEYBUF, 2);
|
||||
_minutes = (byte) atoi(KEYBUF);
|
||||
do {
|
||||
woz_puts("\r(HOURS ) ");
|
||||
apple1_input_line_prompt(KEYBUF, 2);
|
||||
_hours = (byte) atoi(KEYBUF);
|
||||
} while(_hours > 23);
|
||||
|
||||
do {
|
||||
woz_puts("\r(MINUTES) ");
|
||||
apple1_input_line_prompt(KEYBUF, 2);
|
||||
_minutes = (byte) atoi(KEYBUF);
|
||||
} while(_minutes > 59);
|
||||
|
||||
_seconds = 0;
|
||||
|
||||
enable_timer_interrupt();
|
||||
|
|
|
@ -35,7 +35,7 @@ EXPORT __interrupt(hardware_all) void time_interrupt_handler() {
|
|||
_seconds = 0;
|
||||
if(++_minutes == 60) {
|
||||
_minutes = 0;
|
||||
_hours++;
|
||||
if(++_hours == 24) _hours = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue