Skip to content

Commit

Permalink
version 1.28
Browse files Browse the repository at this point in the history
  • Loading branch information
Shaw02 committed Dec 12, 2018
1 parent c8d12fb commit f90518f
Show file tree
Hide file tree
Showing 79 changed files with 1,328 additions and 5,018 deletions.
Binary file modified bin/nsc.exe
Binary file not shown.
Binary file modified bin/nsd.bin
Binary file not shown.
Binary file modified bin/nsd_all.bin
Binary file not shown.
Binary file modified bin/nsd_all2.bin
Binary file not shown.
Binary file modified bin/nsd_fds.bin
Binary file not shown.
Binary file modified bin/nsd_hfe4.bin
Binary file not shown.
Binary file modified bin/nsd_hfx4.bin
Binary file not shown.
Binary file modified bin/nsd_mmc5.bin
Binary file not shown.
Binary file modified bin/nsd_n163.bin
Binary file not shown.
Binary file modified bin/nsd_oall.bin
Binary file not shown.
Binary file modified bin/nsd_opll.bin
Binary file not shown.
Binary file modified bin/nsd_s5b.bin
Binary file not shown.
Binary file modified bin/nsd_se.bin
Binary file not shown.
Binary file modified bin/nsd_vrc6.bin
Binary file not shown.
Binary file modified bin/nsd_vrc7.bin
Binary file not shown.
Binary file modified doc/nsdl.chm
Binary file not shown.
4 changes: 2 additions & 2 deletions doc/readme.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
+-----------------------------------------------------------------------------
| �^�C�g�� | NES Sound Driver Library
|�t�@�C����| NSDL127.ZIP
|�t�@�C����| NSDL128.ZIP
| �J�e�S�� | Sound Driver for NES
| ����@�� | NES (Nintendo Entertainment System)
|�O��\�t�g| cc65 (Complete cross development package for 65(C)02 systems.)
Expand Down Expand Up @@ -28,4 +28,4 @@ This is developed as object library, and user application can control it.
�Etwitter https://twitter.com/sha_w_
========================================================================

����̃t�@�C���́yNSDL127.ZIP�z�ł��B
����̃t�@�C���́yNSDL128.ZIP�z�ł��B
82 changes: 82 additions & 0 deletions include/makefile.BAK
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
#==============================================================================
# NES Sound Driver & library (NSD.lib)
# Make file
#------------------------------------------------------------------------------
#
# Copyright (c) 2012 A.Watanabe (S.W.), All rights reserved.
# For conditions of distribution and use, see copyright notice
# in "nsd.h" or "nsd.inc".
#
#==============================================================================

########################################
#; LOG files
########################################

LOG_FILE = comlog.txt #�e�R�}���h�̕W���o�͐�ł��B
ERRLOG_FILE = errlog.txt #�e�R�}���h�̃G���[�o�͐�ł��B
BLDLOG_FILE = buildlog.txt #make.exe�̏o�͐�ł��B



########################################
#; Define of build tools & option
########################################

#---------------
#; MML Compiler (for Music & SE data)
MC = $(TOOL_PASS)nsc
MCFLAGS = -a -e

#---------------
#; C Compiler
CC = $(TOOL_PASS)cl65
CFLAGS = -t none -I$(INC_PASS) --listing $*.lst --list-bytes 255 -c -o

#---------------
#; Assembler
AS = $(TOOL_PASS)ca65
ASFLAGS = -t none -I$(INC_PASS) --listing $*.lst --list-bytes 255

#---------------
#; Archiver
AR = $(TOOL_PASS)ar65
ARFLAGS = a

#---------------
#; Linker
LINKER = $(TOOL_PASS)ld65
LDFLAGS = -C $(CFG_FILE) -L$(LIB_PASS) -v -m $(MAP_FILE) -vm -o

#---------------
#; File delete
RM = del

#---------------
#; File copy
CP = copy



#===============================
#; �ˑ��֌W�i�w�b�_�[�t�@�C�������A�ˑ��֌W�ɒlj����邽�߂ɁA��`�j

%.o : %.s $(INC_FILES) #;".inc"�t�@�C�����X�V���ꂽ�ꍇ�́A.s�́A�S���A�Z���u������B
@echo [Assemble] : $< >>$(ERRLOG_FILE)
$(AS) $(ASFLAGS) $< 1>>$(LOG_FILE) 2>>$(ERRLOG_FILE)


%.o : %.c $(H_FILES) #;".h"�t�@�C�����X�V���ꂽ�ꍇ�́A.c�́A�S���R���p�C������B
@echo [Compile] : $< >>$(ERRLOG_FILE)
$(CC) $(CFLAGS) $*.o $< 1>>$(LOG_FILE) 2>>$(ERRLOG_FILE)


%.s : %.mml $(DMC_FILES) #;".dmc"�t�@�C�����X�V���ꂽ�ꍇ�́A.mml�́A�S���R���p�C������B
@echo ======================================================== >>$(LOG_FILE)
@echo [Compile] : $< >>$(LOG_FILE)
@echo ======================================================== >>$(LOG_FILE)
@echo [Compile] : $< >>$(ERRLOG_FILE)
$(MC) $(MCFLAGS) $< 1>>$(LOG_FILE) 2>>$(ERRLOG_FILE)

%.s : %.bmp

11 changes: 6 additions & 5 deletions include/makefile.mk
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ MCFLAGS = -a -e
#---------------
#; C Compiler
CC = $(TOOL_PASS)cl65
CFLAGS = -t none -I$(INC_PASS) -c -o
CFLAGS = -t none -I$(INC_PASS) --listing $*.lst --list-bytes 255 -c -o

#---------------
#; Assembler
Expand Down Expand Up @@ -71,11 +71,12 @@ CP = copy
$(CC) $(CFLAGS) $*.o $< 1>>$(LOG_FILE) 2>>$(ERRLOG_FILE)


%.o : %.mml $(DMC_FILES) #;".dmc"ファイルが更新された場合は、.mmlは、全部コンパイルする。
%.s : %.mml $(DMC_FILES) #;".dmc"ファイルが更新された場合は、.mmlは、全部コンパイルする。
@echo ======================================================== >>$(LOG_FILE)
@echo [Compile] : $< >>$(LOG_FILE)
@echo ======================================================== >>$(LOG_FILE)
@echo [Compile] : $< >>$(ERRLOG_FILE)
$(MC) $(MCFLAGS) $< 1>>$(LOG_FILE) 2>>$(ERRLOG_FILE)
$(AS) $(ASFLAGS) $*.s 1>>$(LOG_FILE) 2>>$(ERRLOG_FILE)
$(RM) $*.s 1>>$(LOG_FILE) 2>>$(ERRLOG_FILE)

%.o : %.bmp
%.s : %.bmp

Binary file modified lib/NSD.lib
Binary file not shown.
Binary file modified lib/NSD_ALL.lib
Binary file not shown.
Binary file modified lib/NSD_ALL2.lib
Binary file not shown.
Binary file modified lib/NSD_FDS.lib
Binary file not shown.
Binary file modified lib/NSD_HFE4.lib
Binary file not shown.
Binary file modified lib/NSD_HFX4.lib
Binary file not shown.
Binary file modified lib/NSD_MMC5.lib
Binary file not shown.
Binary file modified lib/NSD_N163.lib
Binary file not shown.
Binary file modified lib/NSD_OALL.lib
Binary file not shown.
Binary file modified lib/NSD_OPLL.lib
Binary file not shown.
Binary file modified lib/NSD_SE.lib
Binary file not shown.
Binary file modified lib/NSD_VRC6.lib
Binary file not shown.
Binary file modified lib/NSD_VRC7.lib
Binary file not shown.
Binary file modified lib/NSD_s5b.lib
Binary file not shown.
14 changes: 11 additions & 3 deletions sample/ca65/MAKEFILE
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,12 @@ MAP_FILE = test.map

#---------------
#; �\�[�X�t�@�C��
MAIN_FILES = crt0.o \
main.o \
MAIN_FILES = ines.o \
crt0.o \
work.o \
nmi_main.o \
irq_main.o \
main.o

CHR_FILRS = neschar.o

Expand All @@ -47,7 +51,11 @@ MML_FILES = testmus.o

#---------------
#; �A�Z���u������p�w�b�_�[
INC_FILES = nsd.inc
INC_FILES = sample.inc \
nsd.inc \
macro.inc \
struct.inc \
work.inc

#---------------
#; �b����p�w�b�_�[
Expand Down
10 changes: 0 additions & 10 deletions sample/ca65/buildlog.txt

This file was deleted.

42 changes: 0 additions & 42 deletions sample/ca65/comlog.txt

This file was deleted.

Loading

0 comments on commit f90518f

Please sign in to comment.