FUZIX.git
9 years agoinclude/syscall_name.h: fcntl and ioctl are variadic
Tormod Volden [Thu, 16 Apr 2015 22:00:20 +0000 (00:00 +0200)]
include/syscall_name.h: fcntl and ioctl are variadic

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
9 years ago6809 Fix syscall glue for variadic functions
Tormod Volden [Thu, 16 Apr 2015 22:00:19 +0000 (00:00 +0200)]
6809 Fix syscall glue for variadic functions

gcc6809 uses a fastcall calling convention with the first argument
in X, the second and up on the stack. However, variadic functions
get all the arguments on the stack. We therefore mangle the stack
for these functions so that they appear as fastcall to the kernel.

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
9 years ago6809: Adjust syscall argument passing to caller convention
Tormod Volden [Thu, 16 Apr 2015 22:00:18 +0000 (00:00 +0200)]
6809: Adjust syscall argument passing to caller convention

The calling user process will put the first argument in
X and the rest on the stack. Make sure this get carried over
to u_argn etc correctly.

Also make sure the return values from the system call is
handed back to the caller through the rti.

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
9 years agodragon-nx32: Put kernel_flag in common
Tormod Volden [Thu, 16 Apr 2015 22:00:17 +0000 (00:00 +0200)]
dragon-nx32: Put kernel_flag in common

So that we can can use the empty SAM macros in
unix_syscall_entry, with user bank active.

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
9 years agolowlevel-6809.s: u_callno is 8 bit
Tormod Volden [Thu, 16 Apr 2015 22:00:16 +0000 (00:00 +0200)]
lowlevel-6809.s: u_callno is 8 bit

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
9 years agoAdd const in utils/dosread include/regexp.h libs/atoi
Tormod Volden [Tue, 14 Apr 2015 21:23:07 +0000 (23:23 +0200)]
Add const in utils/dosread include/regexp.h libs/atoi

gcc likes to have it consistent.

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
9 years agoconsts: Fix other consts
Alan Cox [Wed, 15 Apr 2015 11:44:25 +0000 (12:44 +0100)]
consts: Fix other consts

Originally from Tormod Volden but I had to fix the DOS mangling of some
of the files to apply them

9 years agodosread: remove DOS formatting
Alan Cox [Wed, 15 Apr 2015 11:42:26 +0000 (12:42 +0100)]
dosread: remove DOS formatting

(and correct missing const on main argv[] via Tormod Volden)

9 years agodragon-nx32: Add system build instructions to README
Tormod Volden [Tue, 14 Apr 2015 21:23:17 +0000 (23:23 +0200)]
dragon-nx32: Add system build instructions to README

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
9 years agoAdd -X reverse endian option to build-filesystem script
Tormod Volden [Tue, 14 Apr 2015 21:23:16 +0000 (23:23 +0200)]
Add -X reverse endian option to build-filesystem script

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
9 years agocrt0_6809.s: Pass environ, argv and argc to main()
Tormod Volden [Tue, 14 Apr 2015 21:23:15 +0000 (23:23 +0200)]
crt0_6809.s: Pass environ, argv and argc to main()

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
9 years ago6809 util: Link utilities with libgcc
Tormod Volden [Tue, 14 Apr 2015 21:23:14 +0000 (23:23 +0200)]
6809 util: Link utilities with libgcc

For example a number of math functions are needed.

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
9 years ago6809 libs: Use our str* and mem* functions
Tormod Volden [Tue, 14 Apr 2015 21:23:13 +0000 (23:23 +0200)]
6809 libs: Use our str* and mem* functions

We will not be using the gcc stdlib when building
userland utilities.

And rename our own "libc" so that lwlink can find it.

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
9 years agoLibrary: Add putchar_wrapper.c for use with libgcc
Tormod Volden [Tue, 14 Apr 2015 21:23:12 +0000 (23:23 +0200)]
Library: Add putchar_wrapper.c for use with libgcc

Once we link in libgcc.a it seems we need the putchar
without underscore (in C).

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
9 years agocrt0_6809.s: Set load page value for dragon-nx32
Tormod Volden [Tue, 14 Apr 2015 21:23:11 +0000 (23:23 +0200)]
crt0_6809.s: Set load page value for dragon-nx32

This must be changed back for e.g. the "dragon" port.
Clearly this must be done in a better way.

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
9 years agocrt0_6809.s: Create a .header section for executables
Tormod Volden [Tue, 14 Apr 2015 21:23:10 +0000 (23:23 +0200)]
crt0_6809.s: Create a .header section for executables

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
9 years agocrt0_6809.s: Fix typo in linker symbols strings
Tormod Volden [Tue, 14 Apr 2015 21:23:09 +0000 (23:23 +0200)]
crt0_6809.s: Fix typo in linker symbols strings

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
9 years agosyscall6809.s: Use correct SWI number
Tormod Volden [Tue, 14 Apr 2015 21:23:08 +0000 (23:23 +0200)]
syscall6809.s: Use correct SWI number

Use SWI as set up in the vector table.

This is not NitrOS-9, I guess...

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
9 years agozx128/mdv: strengthen tools and fix the header write size
Alan Cox [Tue, 14 Apr 2015 00:00:49 +0000 (01:00 +0100)]
zx128/mdv: strengthen tools and fix the header write size

We now appear to read/write the fs correctly. Not yet sure why swap is
bombing out with an error 3 on sector 155.

9 years agozx128: further swap fixes
Alan Cox [Mon, 13 Apr 2015 23:01:43 +0000 (00:01 +0100)]
zx128: further swap fixes

9 years agozx128: further steps to working Microdrive read/write
Alan Cox [Mon, 13 Apr 2015 22:51:57 +0000 (23:51 +0100)]
zx128: further steps to working Microdrive read/write

This fixes the motor select logic. We can now have multiple devices loaded
without getting in a nasty mess. Still a write corruption problem to be tracked
down and writes to mdv3 (swap) bomb for reasons not yet understood

9 years agozx128: initial code for swap on microdrive
Alan Cox [Mon, 13 Apr 2015 21:28:02 +0000 (22:28 +0100)]
zx128: initial code for swap on microdrive

Wheee...

9 years agobankfixed: deal with casting of SWAPBASE
Alan Cox [Mon, 13 Apr 2015 21:26:45 +0000 (22:26 +0100)]
bankfixed: deal with casting of SWAPBASE

9 years agodragon-nx32 README: Add bit from Tormod that I lost
Tormd Volden [Mon, 13 Apr 2015 11:14:29 +0000 (12:14 +0100)]
dragon-nx32 README: Add bit from Tormod that I lost

9 years ago6809: Try building Applications/utils
Tormod Volden [Sun, 12 Apr 2015 23:00:19 +0000 (01:00 +0200)]
6809: Try building Applications/utils

Still missing some bits though.

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
9 years ago6809: Fix library archive contents
Tormod Volden [Sun, 12 Apr 2015 23:00:18 +0000 (01:00 +0200)]
6809: Fix library archive contents

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
9 years agoMakefile/tools: add chkmdv
Alan Cox [Sun, 12 Apr 2015 21:50:25 +0000 (22:50 +0100)]
Makefile/tools: add chkmdv

Handy for checking Microdrive write logic

9 years agoMakefile: space fix
Alan Cox [Sun, 12 Apr 2015 21:49:29 +0000 (22:49 +0100)]
Makefile: space fix

9 years agoLibrary: Build 6809 C library
Tormod Volden [Sun, 12 Apr 2015 21:31:41 +0000 (23:31 +0200)]
Library: Build 6809 C library

The crt0_6809.s still needs some filling in.

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
9 years agoLibrary: Generate 6809 syscall glue
Tormod Volden [Sun, 12 Apr 2015 20:26:30 +0000 (22:26 +0200)]
Library: Generate 6809 syscall glue

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
9 years agozx128, microdrive: Microdrive write support
Alan Cox [Sun, 12 Apr 2015 16:45:44 +0000 (17:45 +0100)]
zx128, microdrive: Microdrive write support

Still somewhat fragile

9 years agozx128: kick out the experimental betadisk hacks
Alan Cox [Sat, 11 Apr 2015 14:17:59 +0000 (15:17 +0100)]
zx128: kick out the experimental betadisk hacks

They cost us to much in memory layout and hassle and at best will be very
brittle. Instead we'll need a Betadisk with suitable rom hooks added (or
already present ?)

9 years agodevmdv: add mdv_csum
Alan Cox [Thu, 9 Apr 2015 09:17:21 +0000 (10:17 +0100)]
devmdv: add mdv_csum

Just need to build the tree so I can get a map file. The code to actual
compute the csum needs adding for write.

9 years agopad256: quote "$1" in case anyone uses silly names
Alan Cox [Mon, 6 Apr 2015 12:16:17 +0000 (13:16 +0100)]
pad256: quote "$1" in case anyone uses silly names

9 years agoAdd padding tool for DriveWire images
Tormod Volden [Mon, 6 Apr 2015 10:38:08 +0000 (12:38 +0200)]
Add padding tool for DriveWire images

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
9 years agodragon-nx32: add patch to emulate nx32 in Xroar
Alan Cox [Mon, 6 Apr 2015 12:13:49 +0000 (13:13 +0100)]
dragon-nx32: add patch to emulate nx32 in Xroar

9 years agodragon-nx32: Add DWLOAD bootloader
Tormod Volden [Mon, 6 Apr 2015 10:38:09 +0000 (12:38 +0200)]
dragon-nx32: Add DWLOAD bootloader

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
9 years agodragon-nx32: doesn't support raw I/O yet so set the legacy flag
Alan Cox [Mon, 6 Apr 2015 10:44:11 +0000 (11:44 +0100)]
dragon-nx32: doesn't support raw I/O yet so set the legacy flag

Without this binaries over 512 bytes long won't get loaded right

9 years agoAdd new dragon-nx32 port
Tormod Volden [Mon, 6 Apr 2015 09:32:57 +0000 (11:32 +0200)]
Add new dragon-nx32 port

For Dragon 32 or 64 with an external banked memory
cartridge.

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
9 years agodragon: TICKSPERSEC is 50
Tormod Volden [Mon, 6 Apr 2015 09:32:56 +0000 (11:32 +0200)]
dragon: TICKSPERSEC is 50

The IRQ is driven by the video VSYNC and is usually 50 Hz
for most Dragons. The Tano Dragon would be 60 Hz (NTSC).

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
9 years agodragon: Mangle debug outchar bytes for 6847
Tormod Volden [Mon, 6 Apr 2015 09:32:55 +0000 (11:32 +0200)]
dragon: Mangle debug outchar bytes for 6847

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
9 years agodragon: Fix stack offset in usermem uzero function
Tormod Volden [Mon, 6 Apr 2015 09:32:54 +0000 (11:32 +0200)]
dragon: Fix stack offset in usermem uzero function

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
9 years agop6809.s: Remove fatal space inside register list operand
Tormod Volden [Mon, 6 Apr 2015 09:32:53 +0000 (11:32 +0200)]
p6809.s: Remove fatal space inside register list operand

The assembler considers everything following a space as
a comment.

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
9 years agofilesys: trim trailing space
Alan Cox [Mon, 6 Apr 2015 10:36:18 +0000 (11:36 +0100)]
filesys: trim trailing space

9 years agofilesys: Add DEBUG kprint in fmount()
Tormod Volden [Mon, 6 Apr 2015 09:32:52 +0000 (11:32 +0200)]
filesys: Add DEBUG kprint in fmount()

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
9 years agodragon: Remove misplaced comment in commonmem.s
Tormod Volden [Mon, 6 Apr 2015 09:32:51 +0000 (11:32 +0200)]
dragon: Remove misplaced comment in commonmem.s

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
9 years agodragon: Do not link empty usermem_std-6809
Tormod Volden [Mon, 6 Apr 2015 09:32:50 +0000 (11:32 +0200)]
dragon: Do not link empty usermem_std-6809

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
9 years agozx128: first cut at write logic
Alan Cox [Mon, 6 Apr 2015 10:34:29 +0000 (11:34 +0100)]
zx128: first cut at write logic

Not yet wired up to checksum, and some of the delay loops need tuning so we
don't scribble too early.

9 years agographics: fill out how MAP might work
Alan Cox [Tue, 31 Mar 2015 23:00:50 +0000 (00:00 +0100)]
graphics: fill out how MAP might work

9 years agonc100: first draft graphics and audio support
Alan Cox [Tue, 31 Mar 2015 21:54:38 +0000 (22:54 +0100)]
nc100: first draft graphics and audio support

9 years agotrs80: add initial prototype graphics card support
Alan Cox [Tue, 31 Mar 2015 21:53:48 +0000 (22:53 +0100)]
trs80: add initial prototype graphics card support

9 years agoMakefile: build audio
Alan Cox [Tue, 31 Mar 2015 21:53:18 +0000 (22:53 +0100)]
Makefile: build audio

9 years agographics: first draft bits
Alan Cox [Tue, 31 Mar 2015 21:52:31 +0000 (22:52 +0100)]
graphics: first draft bits

9 years agokernel.h: reserve audio and graphics ioctl ranges
Alan Cox [Tue, 31 Mar 2015 21:52:05 +0000 (22:52 +0100)]
kernel.h: reserve audio and graphics ioctl ranges

9 years agoaudio: add the base audio code and hooks
Alan Cox [Tue, 31 Mar 2015 21:51:11 +0000 (22:51 +0100)]
audio: add the base audio code and hooks

9 years agostart: allow for platforms that have one possible boot device
Alan Cox [Tue, 31 Mar 2015 21:50:35 +0000 (22:50 +0100)]
start: allow for platforms that have one possible boot device

If so dump all the bootdevice requesting stuff and just go

9 years agoaudio: first draft of an audio header and ioctl interface
Alan Cox [Tue, 31 Mar 2015 21:50:15 +0000 (22:50 +0100)]
audio: first draft of an audio header and ioctl interface

9 years agoz80: add in and out operators
Alan Cox [Tue, 31 Mar 2015 21:48:18 +0000 (22:48 +0100)]
z80: add in and out operators

(Not yet tested)

9 years agoSync kernel09.def to updated kernel.def
Tormod Volden [Tue, 31 Mar 2015 00:17:22 +0000 (02:17 +0200)]
Sync kernel09.def to updated kernel.def

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
9 years agoStandalone: Do not include stdio.h in fuzix_fs.h
Tormod Volden [Mon, 30 Mar 2015 21:25:05 +0000 (23:25 +0200)]
Standalone: Do not include stdio.h in fuzix_fs.h

xfs1a and xfs1b need a NULL definition, but they can pick
that from stddef.h.

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
9 years agoStandalone: Fix cross-endian disk image operation
Tormod Volden [Mon, 30 Mar 2015 21:25:04 +0000 (23:25 +0200)]
Standalone: Fix cross-endian disk image operation

A filesystem can now be created with mkfs -X,
manipulated with ucp, and successfully checked with
fsck.

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
9 years agonc100: attach the boot block to the fuzix.bin not uzi.bin as it was long ago
Alan Cox [Mon, 30 Mar 2015 22:53:20 +0000 (23:53 +0100)]
nc100: attach the boot block to the fuzix.bin not uzi.bin as it was long ago

9 years agonc100: correct README re sdas
Alan Cox [Mon, 30 Mar 2015 22:53:07 +0000 (23:53 +0100)]
nc100: correct README re sdas

9 years agonc100: tty bits
Alan Cox [Mon, 30 Mar 2015 22:52:22 +0000 (23:52 +0100)]
nc100: tty bits

Fix the keymap for NC100
Output kernel messages to both serial and vt. This is useful as the emulator
defaults to exiting on DI HLT and doesn't let you read the messages

9 years agonc100: config for NC100 by default
Alan Cox [Mon, 30 Mar 2015 22:52:03 +0000 (23:52 +0100)]
nc100: config for NC100 by default

Defaulting to NC200 is asking for pain

9 years agonc100: declare location of font
Alan Cox [Mon, 30 Mar 2015 22:51:18 +0000 (23:51 +0100)]
nc100: declare location of font

Without this it gets put in the wrong place and binman then packs it wrongly
for our crt0.s and we jump into the font not the C main..

9 years agonc100: Add forgotten nc100.def
Alan Cox [Mon, 30 Mar 2015 12:58:01 +0000 (13:58 +0100)]
nc100: Add forgotten nc100.def

9 years agoStandalone mkfs/fsck/xfs2 byte order fixes
Tormod Volden [Sun, 29 Mar 2015 22:05:19 +0000 (00:05 +0200)]
Standalone mkfs/fsck/xfs2 byte order fixes

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
9 years agopx4plus: work on keyboard driver
Alan Cox [Sun, 29 Mar 2015 22:37:13 +0000 (23:37 +0100)]
px4plus: work on keyboard driver

9 years agodragon: Add DriveWire support
Tormod Volden [Sun, 29 Mar 2015 13:13:21 +0000 (15:13 +0200)]
dragon: Add DriveWire support

Reads and writes have been tested both on real hardware
(bit-banger serial) and XRoar (Becker interface).

Thanks to Darren Atkinson and Boisy Pitre for the original
low-level routines!

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
9 years agopx4plus: get it all building again
Alan Cox [Sun, 29 Mar 2015 09:20:06 +0000 (10:20 +0100)]
px4plus: get it all building again

Still much left to do before it'll be bootable.

9 years agopx4plus: add memory open/close for sidecar
Alan Cox [Sun, 29 Mar 2015 09:15:10 +0000 (10:15 +0100)]
px4plus: add memory open/close for sidecar

9 years agopx4plus: minor updates
Alan Cox [Sun, 29 Mar 2015 00:17:38 +0000 (00:17 +0000)]
px4plus: minor updates

9 years agopx4,7508: expand the 7508 code a bit further
Alan Cox [Sat, 28 Mar 2015 23:24:12 +0000 (23:24 +0000)]
px4,7508: expand the 7508 code a bit further

Still much to do including things like the keyboard decoding. Also not
clear what we should do with a lot of the events.

9 years agopx4,sio: return the number of missed interrupts
Alan Cox [Sat, 28 Mar 2015 23:23:21 +0000 (23:23 +0000)]
px4,sio: return the number of missed interrupts

Much cleaner than globals for it all

9 years agopx4plus: carry on fleshing out all the I/O interfaces
Alan Cox [Sat, 28 Mar 2015 22:28:09 +0000 (22:28 +0000)]
px4plus: carry on fleshing out all the I/O interfaces

9 years agosuperblock: magic number should not be signed
Alan Cox [Sat, 28 Mar 2015 13:08:42 +0000 (13:08 +0000)]
superblock: magic number should not be signed

9 years agodragon: add used() in tty_sleeping to silence warning
Tormod Volden [Fri, 27 Mar 2015 23:15:42 +0000 (00:15 +0100)]
dragon: add used() in tty_sleeping to silence warning

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
9 years agofsck: adjust message
Alan Cox [Sat, 28 Mar 2015 12:49:54 +0000 (12:49 +0000)]
fsck: adjust message

9 years agomkfs: Print message if host endianness differs
Tormod Volden [Fri, 27 Mar 2015 23:15:39 +0000 (00:15 +0100)]
mkfs: Print message if host endianness differs

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
9 years agoChange 6809 EMAGIC to 7E (JMP extended)
Tormod Volden [Fri, 27 Mar 2015 23:15:38 +0000 (00:15 +0100)]
Change 6809 EMAGIC to 7E (JMP extended)

0E is JMP direct page, so 7E is easier to use.

Also change it in the not-finished zero trap.

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
9 years agotarget.mk: Add target.mk files present in my tree but that I forgot to add
Alan Cox [Sat, 28 Mar 2015 12:41:32 +0000 (12:41 +0000)]
target.mk: Add target.mk files present in my tree but that I forgot to add

As noted by Tormod

9 years agopx4plus: further updates mostly to the cartridge RAM logic
Alan Cox [Fri, 27 Mar 2015 23:27:01 +0000 (23:27 +0000)]
px4plus: further updates mostly to the cartridge RAM logic

9 years agoswap: correct comment
Alan Cox [Fri, 27 Mar 2015 20:13:49 +0000 (20:13 +0000)]
swap: correct comment

9 years agopx4plus: Further updates
Alan Cox [Fri, 27 Mar 2015 20:13:00 +0000 (20:13 +0000)]
px4plus: Further updates

This fleshes out the task switching, splits up the various ROM and cartridge
logic and begins to put the rest of the system together

9 years agoMerge pull request #151 from willsowerbutts/ctypefix
EtchedPixels [Thu, 26 Mar 2015 10:42:28 +0000 (10:42 +0000)]
Merge pull request #151 from willsowerbutts/ctypefix

Library: minor ctype build fixes

9 years agoMerge pull request #152 from davidgiven/apps
EtchedPixels [Mon, 23 Mar 2015 21:22:41 +0000 (21:22 +0000)]
Merge pull request #152 from davidgiven/apps

V7 app fixes

9 years agoAnsification, constification and smallifying pass --- now builds on 6502
David Given [Mon, 23 Mar 2015 21:13:50 +0000 (22:13 +0100)]
Ansification, constification and smallifying pass --- now builds on 6502
and Z80 (and without warnings on gcc5). Added dummy execl and execlp
implementations for cc65 as at requires them.

--HG--
extra : source : 05427ece25076498a378abe9a783fb018bc70efd

9 years agoLibrary: minor ctype build fixes
Will Sowerbutts [Mon, 23 Mar 2015 19:10:30 +0000 (19:10 +0000)]
Library: minor ctype build fixes

9 years agopx4plus: Initial cut of banking support
Alan Cox [Sun, 22 Mar 2015 21:48:33 +0000 (21:48 +0000)]
px4plus: Initial cut of banking support

Nothing runnable yet but we now build the PX4/PX4 Plus as a set of banked ROM
images which is what is needed. The actual box has

64K RAM (some used for video)
32K OS ROM (CP/M) - overlays low 32K if switched in
2 x up to 32K ROM - overlay 0x6000-0xDFFF

The "intelligent" RAMdisc and the sidecar RAM discs are not memory mapped but
can be used for task switching/swap.

The floppy drive is serial attached at a whopping 19200 baud.

9 years agobinmunge: warn on overflows
Alan Cox [Sun, 22 Mar 2015 21:47:09 +0000 (21:47 +0000)]
binmunge: warn on overflows

9 years agoMerge pull request #148 from davidgiven/ctype2
EtchedPixels [Sun, 22 Mar 2015 19:12:36 +0000 (19:12 +0000)]
Merge pull request #148 from davidgiven/ctype2

Smaller ctype implementation

9 years agoNew ctype implementation: about 100 bytes or so smaller on most binaries.
David Given [Sat, 21 Mar 2015 22:46:34 +0000 (23:46 +0100)]
New ctype implementation: about 100 bytes or so smaller on most binaries.
Also includes unit test.

9 years agoDid a smallification and header fix pass. Still passes the unit tests!
David Given [Sat, 21 Mar 2015 22:12:01 +0000 (23:12 +0100)]
Did a smallification and header fix pass. Still passes the unit tests!

--HG--
extra : source : 49f4625dc1e0a95f94779069e144e8a2d7c4a9e3

9 years agozx128: Fix a nasty stack scribble in tricks.s
Alan Cox [Sat, 21 Mar 2015 21:36:21 +0000 (21:36 +0000)]
zx128: Fix a nasty stack scribble in tricks.s

With this change things look rather better. Swap support is still needed in
order to be able to run more than two processes at a time. Right now that
isn't supported by tricks.s, by the IDE driver or by the microdrive driver.

9 years agoREADME.md: update
Alan Cox [Sat, 21 Mar 2015 21:36:05 +0000 (21:36 +0000)]
README.md: update

9 years agoMerge pull request #150 from geijoenr/master
EtchedPixels [Sat, 21 Mar 2015 21:07:17 +0000 (21:07 +0000)]
Merge pull request #150 from geijoenr/master

vt: return to mode 0 after ESC Y

9 years agoRevert to out-of-line (smaller) version of ctype. Now with unit test!
David Given [Sat, 21 Mar 2015 20:25:00 +0000 (21:25 +0100)]
Revert to out-of-line (smaller) version of ctype. Now with unit test!
Which passes!

--HG--
rename : Library/libs/isspace.c => Library/libs/isblank.c
rename : Library/libs/isspace.c => Library/libs/isprint.c

9 years agoMerge from master.
David Given [Sat, 21 Mar 2015 20:04:58 +0000 (21:04 +0100)]
Merge from master.

9 years agovt: return to mode 0 after ESC Y
geijoenr [Sat, 21 Mar 2015 17:46:08 +0000 (17:46 +0000)]
vt: return to mode 0 after ESC Y