2005.05.27
VK쐬
http://www.roestock.demon.co.uk/isapnptools/

BC++prhob`ɁCnwsosrhڎwB

܂́CBC++prh\ȏԂɁB
src/sfnlfn.dat
include/sfnlfn.dat
āC\[Xƃwb_̃t@C8ɁB
.oȂǂ͖B

makeDOSr.batRs[āCbuild.batB

nwsc̕ςȃG[
struct range_list {
  unsigned long start, end;	/* end = start+len */
  struct range_list *next;
  char *source; /* Name of file where resource allocated, the pointer
		** must be the same for the same source and resource type 
		*/
};
NOWSMART C-MATH COMPILER Version 2.06 COPYRIGHT (C) NOWSMARTSOFT 2004
../include\isapnp/resource.h(86) : Error ҂ȂꏊɃRgIo
ƒB
struct range_list {
  unsigned long start, end;	/* end = start+len */
  struct range_list *next;
  char *source; /* Name of file where resource allocated, the pointer
		* must be the same for the same source and resource type */
};
BTSo^ς


nwsc̍G[
isapnp_m.c(700) : Error line w߂̃p[^lȊOłB
isapnp_m.c(701) : Error line w߂̃p[^lȊOłB
́C
#line 1
#line 1 "isapnp_main.l"
2sŏoBŏ2sڂŏoĂāC1sڂ͌ؗpB
BTSo^ς


nwsc̍G[
static Ő錾/`Ă֐ƁC
staticȂŐ錾/`Ă֐̖OՓ˂B@RpC
BTSo^ς

ЂRpCG[ԂB

I/O|[g@ȊÓCقڂԂB

I/O|[gANZXp̊֐̓wb_ɂ͂ȂCg悤B
NWSOS̃Tvintr.cŎgĂB
extern void		outportb( WORD port, BYTE dat );
extern BYTE		inportb( WORD port );

inb/outb#defineďIłB


strdup		񕡐		(malloc)
usleep		ԑ҂		GetMicroCount()ŁBO[oϐ1KvB
fileno		isatty݂Ŗ	Ȃ(#define YY_NEVER_INTERACTIVEŎE)
popen		pCv			ǂDJGPPł͎EĂ̂config.hŎEB
pclose

strdupMANPAGE
http://www.linux.or.jp/JM/html/LDP_man-pages/man3/strdup.3.html
usleepMANPAGE
http://www.linux.or.jp/JM/html/LDP_man-pages/man3/usleep.3.html


2005/05/28
RpCʂBNŁC`֐炩ɁGG
alloca
X^bNȂ̂ŖہGG
ƂCnwsos.lib̂ȂɃV{EEE
http://www.linux.or.jp/JM/html/LDP_man-pages/man3/alloca.3.html

EEEcOB
Search for Label '_malloc' in Libraries
Link COFF Obj(./cobj/malloc.obj) in lib(nwsos.lib)
Found in './cobj/malloc.obj@nwsos.lib'
̓Cu̐^IuWFNgłB
EEEłBmapt@CĂƂ킩GG
JĂ`BȂĂȁB

イ킯ŁCEUĈallocamallocŒuāCfree()悤ɂB

蓮B@VPC2004

TEhJ[huSound Blaster16vƏoOO

Ƃ̓ePg[ɂB

`Bpnpdump͓ǁCisapnp͓ȁB̓oOĂB
ĂC擪2ۂB

2005/05/28
OSS4NWSOSɕ荞񂾁B
nezumi/ports/isapnptools
rhob`𖢏CB

yacc}Y[Ȃ̂́Cǂungetc()肶B
SF.jp`FbNAEgāCrhmFB
build.batecho offLB

ungetc()oĂȂȂB
http://www.linux.or.jp/JM/html/LDP_man-pages/man3/isatty.3.html

FILE*ȃt@C̃obt@݂ȁB

2005/05/31
isapnpȂǂB
t@Cۂɓǂݍނ̂YY_INPUT}NɊ܂܂
fread()1ӏB
̃}N荞ރobt@printfƐ
ǂݍ܂Ă邪Clex̓obt@Ɉڂς
ɕs悤B
\̂Ԃ֐ȂǂCɈڂςC3i\Ȃ̂ŁC
eՂɂ͓ǂ߂ȂBRV𐘂ēǂłȂB


2005/06/02
ԂƂɌāCႦB
̂Ŏn߂printffobOŁCP𔭌B
Qȍ~͖̂ƐM悤B

ƂɂisapnpB̎Ŗ̐s
K}ł邳B

ŃR~bg`III

nwscswitch(Ɋ֐Ƃ)
񍐁B
BTSo^ς


TODO:
debugR[h폜B


ς݁F
Esf.jp֕荞B
@ȆOɃIWi\[X荞ō悤ɂ悤B
@Eob`ႮȂ̂ł傱Ɛ
@EO֐𕪗

