[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: .DO from BASIC xD;
On 3 jan, 21:38, Steve Nickolas <lyricalnan...@usotsuki.hoshinet.org>
wrote:
> On Tue, 3 Jan 2012, David Schmidt wrote:
> > On 1/3/2012 12:55 AM, Steve Nickolas wrote:
> >> It can create partial and total disk images [...]
>
> > What does that mean, exactly? Is that like formatting - it writes out a
> > filesystem structure? Or does it copy disks? Or...?
>
> It creates a .dsk file.
>
> Currently for some mysterious reason it leaves off the last track when I
> tell it 0,34... o.o;
>
> -uso.
Your assemble code has one bug:
1=- 1=8 0=$ 1=LC"!.+ (0/1)
00/9006: A0 00 LDY #00
00/9008: 8C 05 90 STY 9005
00/900B: AD 04 90 LDA 9004
00/900E: 29 E0 AND #E0
00/9010: 18 CLC
00/9011: 4A LSR
00/9012: 4A LSR
00/9013: 4A LSR
00/9014: 4A LSR
00/9015: 4A LSR
00/9016: 8D B8 90 STA 90B8
00/9019: 29 1F AND #1F
00/901B: 18 CLC
00/901C: 0A ASL
00/901D: 0A ASL
00/901E: 0A ASL
00/901F: 8D B7 90 STA 90B7
00/9022: AD 03 90 LDA 9003
00/9025: 8D B4 90 STA 90B4
00/9028: A9 00 LDA #00
*?
Before $9019, perform a LDA $9004 again and that will work like a
charm.
Antoine