Modified some glitches in startup code, and introduced additional typedefs required in the current version.

This commit is contained in:
matsutsuka 2008-07-02 07:13:22 +00:00
parent 1586d8f36f
commit 29b17c6933
2 changed files with 5 additions and 5 deletions

View File

@ -7,14 +7,12 @@
;;; ;;;
;;; \author ;;; \author
;;; Takahide Matsutsuka <markn@markn.org> ;;; Takahide Matsutsuka <markn@markn.org>
;;;
;;; $Id: crt0.S,v 1.3 2008/07/02 07:13:22 matsutsuka Exp $
;;; ;;;
.module crt0 .module crt0
.globl _main .globl _main
.area _HEADER (ABS)
.org 0
jp init
;; Ordering of segments for the linker. ;; Ordering of segments for the linker.
.area _HOME .area _HOME
.area _CODE .area _CODE

View File

@ -27,7 +27,7 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * 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. */ /* Generic types. */
typedef signed char int8_t;
typedef unsigned char uint8_t; typedef unsigned char uint8_t;
typedef signed short int16_t;
typedef unsigned short uint16_t; typedef unsigned short uint16_t;
typedef unsigned long uint32_t; typedef unsigned long uint32_t;
typedef unsigned char u8_t; /* 8 bit type */ typedef unsigned char u8_t; /* 8 bit type */