flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
revolution 14 Sep 2015, 11:18
On another matter: I don't see where you are incrementing the sector number stored at [bp+6].
|
|||
![]() |
|
DimonSoft 14 Sep 2015, 11:43
revolution wrote: On another matter: I don't see where you are incrementing the sector number stored at [bp+6]. Oops, my fault, thanks. It was first called ReadSector, failed to wrap it in a loop properly ![]() --- But since it is indeed on another matter, the answer to the main question is still wanted. I hope someone has some info to share on the topic. |
|||
![]() |
|
revolution 14 Sep 2015, 13:18
Looking at that further I see that you are actually trying to read cylinder 256. The higher order cylinder bits are in CL.
Also: You never detect when a read fails, you just keep reading sectors. |
|||
![]() |
|
DimonSoft 14 Sep 2015, 17:50
revolution wrote: Looking at that further I see that you are actually trying to read cylinder 256. The higher order cylinder bits are in CL. Thanks, that should be it! For some reason at some point I started thinking it takes lower 2 bits in bits 6–7 of CL. Looked again into the docs with more attention and… There’s even more to do here, I guess. In some articles they say, it is also worth trying at least 3–5 times for each sector with controller resets in between until either the operaration succeeds or all the attempts fail. This was just the piece of code I traced the problem down to. |
|||
![]() |
|
mbr_tsr 20 Jul 2016, 05:35
needs sequential access to sectors, i forget a floppy has 0x7c00 512 sectors, it is easy to use FAT 12, or divide the disk into files, just need to use the ASM i made, mine is the best, it will work, AMMM, and have a C:\boot sector load a 300k EXE as the kernel, all the C: hard disk int 13h 0 reset the drive 80h KRACK Kanez. REALLY, they a SUPER tine 512 byte command entry,,,,then a lot of Judas Priest...then after a few kernels, you reaize the horror of missing gosubs....the horror of my godsbogs int 0xFE...Wang fang Chan Ching Konk Gonk....Can't Bet the Real Thing, Cokea' kole Klassic{U}N{We} don't forget to hand code your int 13h drive retries, 5 works for me
![]() |
|||
![]() |
|
mbr_tsr 20 Jul 2016, 05:43
|
|||
![]() |
|
DimonSoft 20 Jul 2016, 08:24
mbr_tsr wrote: needs sequential access to sectors, i forget a floppy has 0x7c00 512 sectors, it is easy to use FAT 12, or divide the disk into files, just need to use the ASM i made, mine is the best, it will work, AMMM, and have a C:\boot sector load a 300k EXE as the kernel, all the C: hard disk int 13h 0 reset the drive 80h KRACK Kanez. REALLY, they a SUPER tine 512 byte command entry,,,,then a lot of Judas Priest...then after a few kernels, you reaize the horror of missing gosubs....the horror of my godsbogs int 0xFE...Wang fang Chan Ching Konk Gonk....Can't Bet the Real Thing, Cokea' kole Klassic{U}N{We} don't forget to hand code your int 13h drive retries, 5 works for me Could anyone explain me what does this stream of pure mind thrown out into a topic from about a year ago actually mean? And why would anyone miss gosubs in assembly, like if they don’t exist in it? |
|||
![]() |
|
Trinitek 20 Jul 2016, 20:35
DimonSoft wrote: Could anyone explain me what does this stream of pure mind thrown out into a topic from about a year ago actually mean? And why would anyone miss gosubs in assembly, like if they don’t exist in it? |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.