Skip to content

Commit

Permalink
Modified some glitches in startup code, and introduced additional typ…
Browse files Browse the repository at this point in the history
…edefs required in the current version.
  • Loading branch information
matsutsuka committed Jul 2, 2008
1 parent 1586d8f commit 29b17c6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 2 additions & 4 deletions cpu/z80/crt0.S
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,12 @@
;;;
;;; \author
;;; Takahide Matsutsuka <[email protected]>
;;;
;;; $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
Expand Down
4 changes: 3 additions & 1 deletion cpu/z80/z80def.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 $
*
*/

Expand All @@ -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 */
Expand Down

0 comments on commit 29b17c6

Please sign in to comment.