MkII,
> What's the difference between executing a boot sector program at phase 1
> (CY flag reset) and at phase 2 (CY flag set)?
The CY flags is enabled at boot, and the RET NC returns to
DiskROM, where many system variables are set.
If you have a PC near from you, try BrMSX and its amazing
FuDebugger. I learned a lot debugging MSX ROMs.
> I'd like to use only disk ROM functions (CALLing #F37D). Phase 2 prepares
> MSX-DOS environment. It it necessary to pass phase 2 to use ROM functions?
I don't know. In my adventures with DiskROM, I allways pass phase
2. I think I tested a bootsector without RET NC in beginning, but I think
I got a nice CRASH...
Well, I allways pass phase 2. After that I clean MSXDOS
environment and some hooks and I can safely call directly DiskROM (well...
it's not very true with TR - it's crazy, as the drive-motor-can't-stop-
spinning problem I reported days ago).
Adriano Camargo Rodrigues da Cunha ([EMAIL PROTECTED])
Engenharia de Computacao - UNICAMP
http://www.adrpage.cjb.net MSX-TR:I have one.And you?
* LISP: Long, Idiot Set of Parenthesis. *
****
MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED] and put
in the body (not subject) "unsubscribe msx [EMAIL PROTECTED]" (without the
quotes :-) Problems? contact [EMAIL PROTECTED] (www.stack.nl/~wiebe/mailinglist/)
****