Skip to content

Commit 7356d7a

Browse files
committed
RELEASE V1.2 INCL. STABLE BITSTREAM
1 parent d52cb2e commit 7356d7a

File tree

4 files changed

+30
-26
lines changed

4 files changed

+30
-26
lines changed

dist_kit/env1.bit

0 Bytes
Binary file not shown.

dist_kit/sysdef.asm

Lines changed: 27 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ VGA$MAX_Y .EQU 39 ; Max. Y-coordinate in d
3333
VGA$MAX_CHARS .EQU 3200 ; VGA$MAX_X * VGA$MAX_Y
3434
VGA$CHARS_PER_LINE .EQU 80
3535

36+
VGA$EN_HW_CURSOR .EQU 0x0040 ; Show hardware cursor
3637
VGA$EN_HW_SCRL .EQU 0x0C00 ; Hardware scrolling enable
3738
VGA$CLR_SCRN .EQU 0x0100 ; Clear screen
3839

@@ -63,29 +64,29 @@ KBD$CTRL .EQU 0x0080 ; modifier "CTRL" presse
6364

6465
; READ REGISTER: SPECIAL KEYS
6566

66-
KBD$F1 .EQU 0x0001
67-
KBD$F2 .EQU 0x0002
68-
KBD$F3 .EQU 0x0003
69-
KBD$F4 .EQU 0x0004
70-
KBD$F5 .EQU 0x0005
71-
KBD$F6 .EQU 0x0006
72-
KBD$F7 .EQU 0x0007
73-
KBD$F8 .EQU 0x0008
74-
KBD$F9 .EQU 0x0009
75-
KBD$F10 .EQU 0x000A
76-
KBD$F11 .EQU 0x000B
77-
KBD$F12 .EQU 0x000C
78-
79-
KBD$CUR_UP .EQU 0x0010
80-
KBD$CUR_DOWN .EQU 0x0011
81-
KBD$CUR_LEFT .EQU 0x0012
82-
KBD$CUR_RIGHT .EQU 0x0013
83-
KBD$PG_UP .EQU 0x0014
84-
KBD$PG_DOWN .EQU 0x0015
85-
KBD$POS1 .EQU 0x0016
86-
KBD$END .EQU 0x0017
87-
KBD$INS .EQU 0x0018
88-
KBD$DEL .EQU 0x0019
67+
KBD$F1 .EQU 0x0100
68+
KBD$F2 .EQU 0x0200
69+
KBD$F3 .EQU 0x0300
70+
KBD$F4 .EQU 0x0400
71+
KBD$F5 .EQU 0x0500
72+
KBD$F6 .EQU 0x0600
73+
KBD$F7 .EQU 0x0700
74+
KBD$F8 .EQU 0x0800
75+
KBD$F9 .EQU 0x0900
76+
KBD$F10 .EQU 0x0A00
77+
KBD$F11 .EQU 0x0B00
78+
KBD$F12 .EQU 0x0C00
79+
80+
KBD$CUR_UP .EQU 0x1000
81+
KBD$CUR_DOWN .EQU 0x1100
82+
KBD$CUR_LEFT .EQU 0x1200
83+
KBD$CUR_RIGHT .EQU 0x1300
84+
KBD$PG_UP .EQU 0x1400
85+
KBD$PG_DOWN .EQU 0x1500
86+
KBD$HOME .EQU 0x1600
87+
KBD$END .EQU 0x1700
88+
KBD$INS .EQU 0x1800
89+
KBD$DEL .EQU 0x1900
8990

9091
; READ REGISTER: CTRL + character is also mapped to an ASCII code
9192

@@ -190,3 +191,6 @@ IO$UART_THRA .EQU 0xFF23 ; Transmitting register (relative to base address)
190191
;
191192
CHR$BELL .EQU 0x0007 ; ASCII-BELL character
192193
CHR$TAB .EQU 0x0009 ; ASCII-TAB character
194+
CHR$SPACE .EQU 0x0020 ; ASCII-Space
195+
CHR$CR .EQU 0x000d ; Carriage return
196+
CHR$LF .EQU 0x000a ; Line feed

pore/boot_message.asm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
PORE$NEWLINE .ASCII_W "\n"
22

3-
;PORE$RESETMSG .ASCII_W "QNICE-FPGA Version 1.2 by sy2002 in January 2016 (GIT COMMIT #"
3+
; PORE$RESETMSG .ASCII_W "QNICE-FPGA [WIP] [only 16 reg-banks!] by sy2002 in January 2016 (GIT #"
44

5-
PORE$RESETMSG .ASCII_W "QNICE-FPGA [WIP] [only 16 reg-banks!] by sy2002 in January 2016 (GIT #4077a41)\n"
5+
PORE$RESETMSG .ASCII_W "QNICE-FPGA Version 1.2 by sy2002 in January 2016 (GIT COMMIT #d52cb2e)\n"

vhdl/keyboard.vhd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ begin
138138
end if;
139139
end process;
140140

141-
read_registers : process(kbd_en, kbd_we, kbd_reg, ff_locale, ff_spec_new, ff_ascii_new, ascii_code, spec_code)
141+
read_registers : process(kbd_en, kbd_we, kbd_reg, ff_locale, ff_spec_new, ff_ascii_new, ascii_code, spec_code, modifiers)
142142
begin
143143
reset_ff_ascii_new <= '0';
144144
reset_ff_spec_new <= '0';

0 commit comments

Comments
 (0)