toolchain icon indicating copy to clipboard operation
toolchain copied to clipboard

Archive operations overwrite slot 4 (vat_ptr3)

Open PeterTillema opened this issue 5 years ago • 1 comments

When you open a variable with mode "r+" or "a+" it unarchives the variable if necessary; however, that unarchiving overwrites the the vat pointer of slot 4.

PeterTillema avatar Aug 31 '18 15:08 PeterTillema

@PeterTillema ti_Open() returns 4, or the vat_ptr4?

Is it this address: https://github.com/CE-Programming/toolchain/blob/master/src/fileioc/fileioc.asm#L62 Or this address?: https://github.com/CE-Programming/toolchain/blob/master/src/fileioc/fileioc.asm#L63

mateoconlechuga avatar Mar 20 '19 02:03 mateoconlechuga