FUZIX.git
9 years agozx128: update README
Alan Cox [Fri, 13 Feb 2015 21:45:26 +0000 (21:45 +0000)]
zx128: update README

9 years agozx128: update the microdrive code
Alan Cox [Fri, 13 Feb 2015 21:34:51 +0000 (21:34 +0000)]
zx128: update the microdrive code

Move it to device 8 so we can put real floppy controllers at zero. This
is still read only, and still somewhat silly but who cares.

9 years agodevtty: fix bogus space
Alan Cox [Fri, 13 Feb 2015 21:11:31 +0000 (21:11 +0000)]
devtty: fix bogus space

9 years agozx128: turn on unikey so '£' works
Alan Cox [Fri, 13 Feb 2015 21:10:59 +0000 (21:10 +0000)]
zx128: turn on unikey so '£' works

9 years agozx128: sort out the keyboard driver
Alan Cox [Fri, 13 Feb 2015 21:10:24 +0000 (21:10 +0000)]
zx128: sort out the keyboard driver

This adds some of the missing keyboard symbols, arrow key handling etc and
also sorts out the inverted handling bug.

9 years agozx128: Fix stubs from common to do a bank restore
Alan Cox [Fri, 13 Feb 2015 21:09:50 +0000 (21:09 +0000)]
zx128: Fix stubs from common to do a bank restore

Turns out this is needed

9 years agoinode.c: rest of the fix too
Alan Cox [Fri, 13 Feb 2015 19:54:06 +0000 (19:54 +0000)]
inode.c: rest of the fix too

9 years agoTODO: update
Alan Cox [Fri, 13 Feb 2015 18:20:22 +0000 (18:20 +0000)]
TODO: update

9 years agoinode: allow O_DIRECT reads building from Will's direct change
Alan Cox [Fri, 13 Feb 2015 18:17:27 +0000 (18:17 +0000)]
inode: allow O_DIRECT reads building from Will's direct change

9 years agoMerge pull request #109 from willsowerbutts/readi
EtchedPixels [Fri, 13 Feb 2015 17:54:22 +0000 (17:54 +0000)]
Merge pull request #109 from willsowerbutts/readi

Kernel: readi() - when reading whole sectors, transfer them directly into user memory.

9 years agozx128: fix banking returns through common and discard
Alan Cox [Fri, 13 Feb 2015 17:05:57 +0000 (17:05 +0000)]
zx128: fix banking returns through common and discard

With this little gem fixed we can now get all the way through the IDE probe
in banked code and to the bootdev prompt.

9 years agodevide: remove escaped debug, ifdef routine not always required
Alan Cox [Fri, 13 Feb 2015 17:03:56 +0000 (17:03 +0000)]
devide: remove escaped debug, ifdef routine not always required

9 years agozx128: switch to mainline bankfixed
Alan Cox [Fri, 13 Feb 2015 15:46:58 +0000 (15:46 +0000)]
zx128: switch to mainline bankfixed

It now handles the cases that prevented it being used

9 years agozx128: use the ROM font
Alan Cox [Fri, 13 Feb 2015 15:40:28 +0000 (15:40 +0000)]
zx128: use the ROM font

Saves us more memory

9 years agozx128: we have two banks so simplify their setup
Alan Cox [Fri, 13 Feb 2015 15:40:08 +0000 (15:40 +0000)]
zx128: we have two banks so simplify their setup

9 years agoKernel: readi() now does direct transfers only if CONFIG_LARGE_IO_DIRECT
Will Sowerbutts [Thu, 12 Feb 2015 14:33:57 +0000 (14:33 +0000)]
Kernel: readi() now does direct transfers only if CONFIG_LARGE_IO_DIRECT
is defined in the platform config.h

9 years agoKernel: readi(): respect u_sysio flag
Will Sowerbutts [Thu, 12 Feb 2015 13:55:24 +0000 (13:55 +0000)]
Kernel: readi(): respect u_sysio flag

9 years agoKernel: readi() - when reading whole sectors, transfer them directly
Will Sowerbutts [Wed, 11 Feb 2015 19:58:45 +0000 (19:58 +0000)]
Kernel: readi() - when reading whole sectors, transfer them directly
into user memory.

9 years agoKernel: revised rules.mk/target.mk
Alan Cox [Fri, 13 Feb 2015 15:25:18 +0000 (15:25 +0000)]
Kernel: revised rules.mk/target.mk

9 years agosnprintf: first cut at snprintf and friends
Alan Cox [Fri, 13 Feb 2015 15:24:18 +0000 (15:24 +0000)]
snprintf: first cut at snprintf and friends

9 years agoprocess: correct behaviour of kill to process 1
Alan Cox [Fri, 13 Feb 2015 14:54:35 +0000 (14:54 +0000)]
process: correct behaviour of kill to process 1

In unixdom this has a magic exception that only handled signals are delivered
to process 1, those that would kill it are ignored.

9 years agoRevert "Revert "Kernel: cpu-z180/rules.mk can just inherit everything from cpu-z80""
Alan Cox [Fri, 13 Feb 2015 14:52:28 +0000 (14:52 +0000)]
Revert "Revert "Kernel: cpu-z180/rules.mk can just inherit everything from cpu-z80""

Put back the Z180 change

This reverts commit 0bcaf324642c0b16b34852d48ac5272ef6d4024a.

9 years agoMakefiles: rework Will's changes in order to make overrides work again
Alan Cox [Fri, 13 Feb 2015 14:51:13 +0000 (14:51 +0000)]
Makefiles: rework Will's changes in order to make overrides work again

We now use target.mk (mandatory) for per platform initial settings and we use
rules.mk (optional) in the platform directory after the CPU rules are processed
in order to override them

9 years agoRevert "Kernel: cpu-z180/rules.mk can just inherit everything from cpu-z80"
Alan Cox [Fri, 13 Feb 2015 14:34:16 +0000 (14:34 +0000)]
Revert "Kernel: cpu-z180/rules.mk can just inherit everything from cpu-z80"

Reverting the target/platform rules.mk changes - they break too much stuff

This reverts commit 02bcf7af9276326e94d3127786d7535f37baebef.

9 years agoMerge pull request #113 from willsowerbutts/z180rules
EtchedPixels [Fri, 13 Feb 2015 13:55:59 +0000 (13:55 +0000)]
Merge pull request #113 from willsowerbutts/z180rules

Kernel: cpu-z180/rules.mk can just inherit everything from cpu-z80

9 years agoKernel: cpu-z180/rules.mk can just inherit everything from cpu-z80
Will Sowerbutts [Fri, 13 Feb 2015 10:17:51 +0000 (10:17 +0000)]
Kernel: cpu-z180/rules.mk can just inherit everything from cpu-z80

9 years agozx128: first pieces towards a disciple disk driver
Alan Cox [Thu, 12 Feb 2015 23:21:32 +0000 (23:21 +0000)]
zx128: first pieces towards a disciple disk driver

Lots of work needed yet.

9 years agozx128: rules.mk for banked
Alan Cox [Thu, 12 Feb 2015 22:12:10 +0000 (22:12 +0000)]
zx128: rules.mk for banked

9 years agoMerge pull request #111 from willsowerbutts/platformcpu
EtchedPixels [Thu, 12 Feb 2015 22:10:14 +0000 (22:10 +0000)]
Merge pull request #111 from willsowerbutts/platformcpu

Kernel: The platform rules.mk should define the CPU used

9 years agoMerge pull request #110 from willsowerbutts/discard
EtchedPixels [Thu, 12 Feb 2015 22:09:47 +0000 (22:09 +0000)]
Merge pull request #110 from willsowerbutts/discard

ds1302, devsd: Split code for the DISCARD segment into separate files.

9 years agoKernel: The platform rules.mk should define the CPU used
Will Sowerbutts [Thu, 12 Feb 2015 21:01:52 +0000 (21:01 +0000)]
Kernel: The platform rules.mk should define the CPU used

This means that only the PLATFORM variable needs to be specified in
Kernel/Makefile, instead both PLATFORM and CPU in combination.

9 years agods1302, devsd: Split code for the DISCARD segment into separate files.
Will Sowerbutts [Thu, 12 Feb 2015 20:49:49 +0000 (20:49 +0000)]
ds1302, devsd: Split code for the DISCARD segment into separate files.
Includes required platform changes for n8vem-mark4, p112.

9 years agopatches/SDCC: Add another change to put string constants in const not code
Alan Cox [Thu, 12 Feb 2015 02:02:30 +0000 (02:02 +0000)]
patches/SDCC: Add another change to put string constants in const not code

9 years agoz80: split the IDE driver __DISCARD up and remove the feature
Alan Cox [Thu, 12 Feb 2015 01:54:47 +0000 (01:54 +0000)]
z80: split the IDE driver __DISCARD up and remove the feature

We can't have multiple banked and unbanked segments in one object file as
we then have no way to make the banked linker and binmunge fix them up. The
common piece is ok as it doesn't call out to other segments in the same file
likewise calls to common code is ok. Calls betweem banks however don't end
well.

9 years agozx128: note bank changes needed
Alan Cox [Thu, 12 Feb 2015 01:53:45 +0000 (01:53 +0000)]
zx128: note bank changes needed

9 years agozx128: put the udata *first* so our maps are right
Alan Cox [Thu, 12 Feb 2015 01:53:23 +0000 (01:53 +0000)]
zx128: put the udata *first* so our maps are right

9 years agozx128: tricks.s updates
Alan Cox [Thu, 12 Feb 2015 01:52:37 +0000 (01:52 +0000)]
zx128: tricks.s updates

This still needs a lot of work doing but it's a starting point and we don't
crash waiting for input

9 years agolkrloc3: typo
Alan Cox [Thu, 12 Feb 2015 01:52:20 +0000 (01:52 +0000)]
lkrloc3: typo

9 years agozx128: video routine updates for banked mode
Alan Cox [Thu, 12 Feb 2015 01:51:56 +0000 (01:51 +0000)]
zx128: video routine updates for banked mode

9 years agozx128: move uarea
Alan Cox [Thu, 12 Feb 2015 01:51:28 +0000 (01:51 +0000)]
zx128: move uarea

We need 0xFFFx free in order to use it for the IM2 stunts needed on the
Spectrum boxes

9 years agobinmunge: zeroing, intialized data, stub changes etc
Alan Cox [Thu, 12 Feb 2015 01:50:41 +0000 (01:50 +0000)]
binmunge: zeroing, intialized data, stub changes etc

9 years agozx128: update the helpers and banking stubs
Alan Cox [Thu, 12 Feb 2015 01:49:04 +0000 (01:49 +0000)]
zx128: update the helpers and banking stubs

9 years agozx128: update to match changes in blkdev and devide
Alan Cox [Thu, 12 Feb 2015 01:48:26 +0000 (01:48 +0000)]
zx128: update to match changes in blkdev and devide

9 years agozx128: update the mappings
Alan Cox [Thu, 12 Feb 2015 01:48:05 +0000 (01:48 +0000)]
zx128: update the mappings

9 years agoz80: usermem banked mode uses some new helpers
Alan Cox [Thu, 12 Feb 2015 01:47:13 +0000 (01:47 +0000)]
z80: usermem banked mode uses some new helpers

We may need to generalise these. The good thing is that the save/restore
versions on a non banked kernel are simply the map_kernel/map_process_any
methods

9 years agozx128: update README
Alan Cox [Thu, 12 Feb 2015 01:46:22 +0000 (01:46 +0000)]
zx128: update README

9 years agoz80: banked mode need modified helpers so stick them into the tree
Alan Cox [Thu, 12 Feb 2015 01:44:16 +0000 (01:44 +0000)]
z80: banked mode need modified helpers so stick them into the tree

If upstream SDCC grows banking support we can tidy this back up but for now
a more generalised banking setup in SDCC is some ways off

9 years agoz80: update banking documentation
Alan Cox [Thu, 12 Feb 2015 01:42:54 +0000 (01:42 +0000)]
z80: update banking documentation

9 years agoz80: make sure the helpers appear in common
Alan Cox [Wed, 11 Feb 2015 00:29:59 +0000 (00:29 +0000)]
z80: make sure the helpers appear in common

9 years agozx128: Further banking fixes
Alan Cox [Wed, 11 Feb 2015 00:28:51 +0000 (00:28 +0000)]
zx128: Further banking fixes

With these in place we get as far as trying to call entries in a function table
load 0xFFFF into HL and jump to it. Probably more binmunge debugging needed
at this point.

9 years agopatches: SDCC patches for playing with banked mode
Alan Cox [Tue, 10 Feb 2015 23:43:25 +0000 (23:43 +0000)]
patches: SDCC patches for playing with banked mode

9 years agozx128: update the various ZX128 bits needed
Alan Cox [Tue, 10 Feb 2015 23:38:35 +0000 (23:38 +0000)]
zx128: update the various ZX128 bits needed

9 years agolowlevel-z80-banked: remove the NULL checker if low memory is not userspace
Alan Cox [Tue, 10 Feb 2015 23:37:52 +0000 (23:37 +0000)]
lowlevel-z80-banked: remove the NULL checker if low memory is not userspace

9 years agobin2sna: Add a tool to turn out banked ZX Spectrum 128 binaries into .SNA
Alan Cox [Tue, 10 Feb 2015 23:36:14 +0000 (23:36 +0000)]
bin2sna: Add a tool to turn out banked ZX Spectrum 128 binaries into .SNA

This provides a quick and handy way to prove they aren't working yet.

The tool loads the common memory, bank1/2/3.bin into the right banks in the
SNA image and then executes from 0xC003 (0xC000 is the main entry point,
0xC003 is a hack for now for a preloaded and positioned image)

At that point we hit crt0.s and crash somewhere early on trying to bank switch

9 years agozx128: banking helpers
Alan Cox [Mon, 9 Feb 2015 23:00:09 +0000 (23:00 +0000)]
zx128: banking helpers

Just filling them out for the moment. They try and use logical not real
bank numbers so won't actually work yet

9 years agoMakefile: allow banked platforms to force different helpers
Alan Cox [Sun, 8 Feb 2015 17:04:41 +0000 (17:04 +0000)]
Makefile: allow banked platforms to force different helpers

9 years agobinmunge: Revised version of the tool
Alan Cox [Sun, 8 Feb 2015 17:04:00 +0000 (17:04 +0000)]
binmunge: Revised version of the tool

This works with the --external-banker patch to SDCC to do the needed inline
fixups and stubs.

9 years ago6809: build the decb tool
Alan Cox [Sun, 8 Feb 2015 17:01:57 +0000 (17:01 +0000)]
6809: build the decb tool

9 years agoz80: commit banked helpers
Alan Cox [Sun, 8 Feb 2015 17:01:29 +0000 (17:01 +0000)]
z80: commit banked helpers

These are annoyingly similar and eventually want folding together

9 years agozx128: Make the adjustments in the asm needed for banked binary support
Alan Cox [Sun, 8 Feb 2015 17:00:54 +0000 (17:00 +0000)]
zx128: Make the adjustments in the asm needed for banked binary support

9 years agostart: Fix warnings if program space is > signed size
Alan Cox [Sun, 8 Feb 2015 17:00:32 +0000 (17:00 +0000)]
start: Fix warnings if program space is > signed size

9 years agoMakefile: further tidying
Alan Cox [Sun, 8 Feb 2015 15:54:15 +0000 (15:54 +0000)]
Makefile: further tidying

9 years agoMakefile: Move the per CPU stuff into the CPU directory
Alan Cox [Sun, 8 Feb 2015 15:30:52 +0000 (15:30 +0000)]
Makefile: Move the per CPU stuff into the CPU directory

Before the Makefiles get out of hand, impose some kind of sanity. We will also
need the platform bits for things like ZX Spectrum 128 where we need to add
our new --external-banker flags and the like.

9 years agoZ80: update the banking logic based on the SDCC changes made
Alan Cox [Sun, 8 Feb 2015 15:21:25 +0000 (15:21 +0000)]
Z80: update the banking logic based on the SDCC changes made

9 years agoprocess.c: scrub final fastcall refs
Alan Cox [Sun, 8 Feb 2015 12:35:55 +0000 (12:35 +0000)]
process.c: scrub final fastcall refs

9 years agoprocess.c: remove __fastproc__ now it is obsolete
Alan Cox [Sun, 8 Feb 2015 12:34:40 +0000 (12:34 +0000)]
process.c: remove __fastproc__ now it is obsolete

9 years agotty.h: typo fix
Alan Cox [Sun, 8 Feb 2015 12:30:56 +0000 (12:30 +0000)]
tty.h: typo fix

9 years agotty.h: and clean out CODE1 bits
Alan Cox [Sun, 8 Feb 2015 12:30:35 +0000 (12:30 +0000)]
tty.h: and clean out CODE1 bits

9 years agotty.h: clean CODE2 out
Alan Cox [Sun, 8 Feb 2015 12:30:03 +0000 (12:30 +0000)]
tty.h: clean CODE2 out

9 years agobanking: Strip out all the experiments with CODE1 etc
Alan Cox [Sun, 8 Feb 2015 12:24:34 +0000 (12:24 +0000)]
banking: Strip out all the experiments with CODE1 etc

By now it's obvious that banking needs to be done per platform and the logic
really wants to be in the linker. Therefore get rid of all the annoying noise.

In addition with the patches to cc65 we don't need __fastcall__ hacks, and
in fact as we can't fastcall a banked 6502 function we don't want fastcalls
leaking anywhere explicit.

9 years agoz80: fix if/endifs for non SDCC case
Alan Cox [Sun, 8 Feb 2015 00:35:47 +0000 (00:35 +0000)]
z80: fix if/endifs for non SDCC case

9 years agoMakefile: switch 68000 toolchain
Alan Cox [Fri, 6 Feb 2015 13:41:43 +0000 (13:41 +0000)]
Makefile: switch 68000 toolchain

9 years ago68000: update the atari-st beginnings, switch tool chain
Alan Cox [Fri, 6 Feb 2015 13:40:31 +0000 (13:40 +0000)]
68000: update the atari-st beginnings, switch tool chain

We now use the atari mint toolchain as it produces TOS binaries and uses the
_ prefixes we expect from compilers.

9 years agoMerge pull request #104 from willsowerbutts/monitorbank
EtchedPixels [Tue, 3 Feb 2015 22:37:14 +0000 (22:37 +0000)]
Merge pull request #104 from willsowerbutts/monitorbank

monitor-z80: allow platforms to move monitor code to different segments (updates p112, n8vem-mark4)

9 years agoMerge pull request #103 from willsowerbutts/prtroot
EtchedPixels [Tue, 3 Feb 2015 22:36:57 +0000 (22:36 +0000)]
Merge pull request #103 from willsowerbutts/prtroot

prtroot: Bug fix, new -i flag to initialise /etc/mtab

9 years agomonitor-z80: allow moving to different segments (updates p112, n8vem-mark4)
Will Sowerbutts [Mon, 2 Feb 2015 23:28:57 +0000 (23:28 +0000)]
monitor-z80: allow moving to different segments (updates p112, n8vem-mark4)

9 years agoprtroot: Bug fix, new -i flag to initialise /etc/mtab
Will Sowerbutts [Tue, 3 Feb 2015 00:35:01 +0000 (00:35 +0000)]
prtroot: Bug fix, new -i flag to initialise /etc/mtab

Bug fix: prtroot would write a 0 byte at the end of its output.

The new "-i" flag causes output to go into /etc/mtab instead of to
stdout.

9 years agosocz80: fix timer, improve irq code a shade
Alan Cox [Tue, 3 Feb 2015 10:59:39 +0000 (10:59 +0000)]
socz80: fix timer, improve irq code a shade

9 years agoMerge pull request #100 from willsowerbutts/devsd
EtchedPixels [Tue, 3 Feb 2015 09:39:22 +0000 (09:39 +0000)]
Merge pull request #100 from willsowerbutts/devsd

devsd: Combine the various wait functions. Saves 143 bytes.

9 years agoMerge pull request #102 from willsowerbutts/ttywriteready
EtchedPixels [Tue, 3 Feb 2015 09:38:23 +0000 (09:38 +0000)]
Merge pull request #102 from willsowerbutts/ttywriteready

Kernel: tty_writeready: change return type from bool to new enum ttyready_t

9 years agoMerge pull request #99 from willsowerbutts/p112rawfloppy
EtchedPixels [Tue, 3 Feb 2015 09:36:52 +0000 (09:36 +0000)]
Merge pull request #99 from willsowerbutts/p112rawfloppy

p112: Floppy disk driver (devfd) support for rawflag=1

9 years agolowlevel-z80: support the experimental entry optimisation
Alan Cox [Mon, 2 Feb 2015 22:29:44 +0000 (22:29 +0000)]
lowlevel-z80: support the experimental entry optimisation

9 years agoKernel: tty_writeready: change return type from bool to new enum ttyready_t
Will Sowerbutts [Mon, 2 Feb 2015 22:19:54 +0000 (22:19 +0000)]
Kernel: tty_writeready: change return type from bool to new enum ttyready_t

9 years agodevsd: Combine the various wait functions. Saves 143 bytes.
Will Sowerbutts [Mon, 2 Feb 2015 21:45:33 +0000 (21:45 +0000)]
devsd: Combine the various wait functions. Saves 143 bytes.

9 years agop112: Floppy disk driver (devfd) support for rawflag=1
Will Sowerbutts [Mon, 2 Feb 2015 21:06:41 +0000 (21:06 +0000)]
p112: Floppy disk driver (devfd) support for rawflag=1

9 years agoMerge branch 'master' of https://github.com/EtchedPixels/FUZIX
Alan Cox [Mon, 2 Feb 2015 13:00:32 +0000 (13:00 +0000)]
Merge branch 'master' of https://github.com/EtchedPixels/FUZIX

9 years agoMerge pull request #96 from geijoenr/master
EtchedPixels [Mon, 2 Feb 2015 09:19:08 +0000 (09:19 +0000)]
Merge pull request #96 from geijoenr/master

msx2: devsd fix, rtc driver for rp5c01, international keyboard layouts

9 years ago8086: just committing these unfinished so I don't forget to add them
Alan Cox [Sun, 1 Feb 2015 21:31:01 +0000 (21:31 +0000)]
8086: just committing these unfinished so I don't forget to add them

9 years agosocz80: intial merge of the ethernet driver
Alan Cox [Sun, 1 Feb 2015 21:30:40 +0000 (21:30 +0000)]
socz80: intial merge of the ethernet driver

9 years agodragon: Delete ROM images on make clean
Tormod Volden [Sun, 1 Feb 2015 19:59:55 +0000 (20:59 +0100)]
dragon: Delete ROM images on make clean

Also delete tools/decbdragon.

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
9 years ago68000: note need to change doexec
Alan Cox [Sun, 1 Feb 2015 20:34:34 +0000 (20:34 +0000)]
68000: note need to change doexec

9 years agodragon: Fix up comments in setup.s
Tormod Volden [Sun, 1 Feb 2015 19:59:56 +0000 (20:59 +0100)]
dragon: Fix up comments in setup.s

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
9 years ago6809: Add EMAGIC_2 (0x20 = BRA)
Tormod Volden [Sun, 1 Feb 2015 19:59:54 +0000 (20:59 +0100)]
6809: Add EMAGIC_2 (0x20 = BRA)

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
9 years ago6809: Add uarg_t
Tormod Volden [Sun, 1 Feb 2015 19:59:53 +0000 (20:59 +0100)]
6809: Add uarg_t

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
9 years agodragon: Use syscall_exec16
Tormod Volden [Sun, 1 Feb 2015 19:59:52 +0000 (20:59 +0100)]
dragon: Use syscall_exec16

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
9 years agodragon: Don't link setup.o in decb binary
Tormod Volden [Sun, 1 Feb 2015 19:59:51 +0000 (20:59 +0100)]
dragon: Don't link setup.o in decb binary

setup.s is compiled directly into rom 1.

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
9 years agomsx2: make tickspersec runtime configurable
geijoenr [Sun, 1 Feb 2015 19:07:22 +0000 (19:07 +0000)]
msx2: make tickspersec runtime configurable

9 years agomsx2: add localized keyboard matrices
geijoenr [Sun, 1 Feb 2015 18:10:18 +0000 (18:10 +0000)]
msx2: add localized keyboard matrices

Only JP,UK,ES are available for now.

9 years agomsx2: read machine type and info
geijoenr [Sun, 1 Feb 2015 17:51:07 +0000 (17:51 +0000)]
msx2: read machine type and info

This is required to select the proper keyboard layout
and use additional hw features in MSX2+ and TR.

9 years agokeycode: fix ESC define, add YEN special keycode
geijoenr [Sun, 1 Feb 2015 15:05:23 +0000 (15:05 +0000)]
keycode: fix ESC define, add YEN special keycode