Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
74181b0
add start of files for shared resources API #70
Jun 13, 2025
9857ede
get shres code building with cc65 #70
Jun 13, 2025
85d82cc
fix typo in symbol name #70
Jun 13, 2025
7e1b1f3
Implement shdopen() #70
Jun 13, 2025
3fac544
more work on SHRES API #70
Jun 13, 2025
05da1b5
work on implementing shread() and shopen() #70
Jun 14, 2025
485f8f9
fix shread() sector offset. Remove debug output #70
Jun 14, 2025
7755d42
get shopen() file search working etc #70
Jun 14, 2025
3672bb4
remove debug output #70
Jun 14, 2025
24e2695
implement shseek() #70
Jun 14, 2025
6eb8edf
run clang-format on shres files #70
Jun 14, 2025
0ee08bb
add doxygen documentation #70
Jun 14, 2025
7d954db
reapply clang-format #70
Jun 14, 2025
5f70804
initial llvm-mos implementation of shres_asm.s #70
Jun 14, 2025
b6d1c7b
add shres API to llvm cmake #70
Jun 14, 2025
95cd1a9
wait for sector read to complete in shread() #70
Jun 16, 2025
61ab9ea
add argument to chdirroot() function #73
Aug 29, 2025
d987fb8
ensure SD card buffer selected in shread #70
Aug 30, 2025
8174c8f
remove vestical openfile call in chdir #74
Aug 30, 2025
f230e1a
fix llvm shres issue #70
Sep 25, 2025
33eb3ba
fix llvm -Oz bug with ldq/stq #70
Sep 25, 2025
6a44500
fix llvm target bugs #70
Sep 25, 2025
78931f4
usleep() bug with values not modulo 64usec #70
Sep 27, 2025
9d8888e
fix Y Z pop order #70
Sep 27, 2025
031c0e0
fix llvm behaviour for shres #70
Sep 27, 2025
141dd62
fix chdirroot for llvm #70
Sep 28, 2025
8433fff
preserve Y value
Sep 28, 2025
5c2d089
debug shres stuff #70
Sep 28, 2025
106c10d
Reduce memory requirements for shres #76
Jan 1, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion include/mega65/fileio.h
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ chdir(char* filename);
__attribute__((leaf))
#endif
uint8_t
chdirroot(void);
chdirroot(uint8_t partition);

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update tests/test-fileio.c to reflect this breaking change. CI currently fails.


/**
* @brief Struct for holding version information of the hypervisor
Expand Down
5 changes: 5 additions & 0 deletions src/cc65/fileio.s
Original file line number Diff line number Diff line change
Expand Up @@ -146,10 +146,15 @@ _close:
rts

_chdirroot:
;; HYPPO requires partition number in X.
tax
;; Change to root directory of volume
lda #$3C
sta $d640
clv
;; HYPPO trap_dos_cdroot() doesn't set return value: It is deemed to always succeed
;; if called on a valid disk.
ldx #$00
ldx #$00
rts

Expand Down
Loading