We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63eef26 commit cdd4876Copy full SHA for cdd4876
src/00/filesystem.asm
@@ -612,6 +612,7 @@ _: ; Move DE to end of file entry
612
ei
613
_: pop af
614
pop ix
615
+ cp a
616
ret
617
.exitError:
618
pop hl
@@ -699,12 +700,14 @@ _: push de
699
700
ld de, 0
701
.createEntry:
702
call createDirectoryEntry
703
+ jr nz, .error2
704
inc sp \ inc sp ; pop hl
705
pop de
706
pop af
707
jp po, _
708
709
710
711
712
.error:
713
@@ -718,6 +721,16 @@ _: pop af
718
721
or 1
719
722
ld a, errFileNotFound
720
723
724
+ .error2:
725
+ inc sp \ inc sp ; pop hl
726
+ pop de
727
+ pop af
728
+ jp po, _
729
+ ei
730
+_: pop af
731
+ or 1
732
+ ld a, errFilesystemFull
733
+ ret
734
735
; findNode
736
; Finds a node in the FAT.
0 commit comments