Light maintenance.

This commit is contained in:
Niels Moseley 2018-02-12 01:57:15 +01:00
parent c590167553
commit 9bf7d101cc
4 changed files with 393 additions and 2 deletions

View File

@ -638,3 +638,387 @@
00
08
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00

View File

@ -37,7 +37,6 @@ module apple1(
input ps2_select, // Input to select the PS/2 keyboard instead of the UART
// Outputs to VGA display
input clr_screen_btn, // active high clear screen button
output vga_h_sync, // hozizontal VGA sync pulse
output vga_v_sync, // vertical VGA sync pulse
output vga_red, // red VGA signal

View File

@ -324,7 +324,7 @@ module ps2keyboard (
begin
next_state = S_KEYNORMAL;
end
endcase;
endcase
end
else
begin

View File

@ -53,6 +53,14 @@ int main(int argc, char *argv[])
}
}
// append zeros to 1024 bytes to keep Xilinx ISE webpack
// happy.. *sigh*
while(bytecount < 1024)
{
fprintf(fout,"00\n");
bytecount++;
}
printf("Done: converted %d bytes\n", bytecount);
fclose(fout);