From 29b17c69332f2e3023f20d14c785b082eb97cec4 Mon Sep 17 00:00:00 2001 From: matsutsuka Date: Wed, 2 Jul 2008 07:13:22 +0000 Subject: [PATCH] Modified some glitches in startup code, and introduced additional typedefs required in the current version. --- cpu/z80/crt0.S | 6 ++---- cpu/z80/z80def.h | 4 +++- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/cpu/z80/crt0.S b/cpu/z80/crt0.S index a22494877..6c3a18b4b 100644 --- a/cpu/z80/crt0.S +++ b/cpu/z80/crt0.S @@ -7,14 +7,12 @@ ;;; ;;; \author ;;; Takahide Matsutsuka +;;; +;;; $Id: crt0.S,v 1.3 2008/07/02 07:13:22 matsutsuka Exp $ ;;; .module crt0 .globl _main - .area _HEADER (ABS) - .org 0 - jp init - ;; Ordering of segments for the linker. .area _HOME .area _CODE diff --git a/cpu/z80/z80def.h b/cpu/z80/z80def.h index 9bef722e7..77934aebb 100644 --- a/cpu/z80/z80def.h +++ b/cpu/z80/z80def.h @@ -27,7 +27,7 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: z80def.h,v 1.4 2007/11/28 09:36:06 matsutsuka Exp $ + * $Id: z80def.h,v 1.5 2008/07/02 07:13:22 matsutsuka Exp $ * */ @@ -50,7 +50,9 @@ /* Generic types. */ +typedef signed char int8_t; typedef unsigned char uint8_t; +typedef signed short int16_t; typedef unsigned short uint16_t; typedef unsigned long uint32_t; typedef unsigned char u8_t; /* 8 bit type */