From 52853edcd1635b92f71a7082dbc6e3cbbe4a7568 Mon Sep 17 00:00:00 2001 From: Andy McFadden Date: Fri, 31 Jul 2020 08:32:46 -0700 Subject: [PATCH] Update GS/OS parameter block definitions The FlushGS call has an additional argument. --- SourceGen/RuntimeData/Apple/GSOS.cs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/SourceGen/RuntimeData/Apple/GSOS.cs b/SourceGen/RuntimeData/Apple/GSOS.cs index a5dea87..b17ac20 100644 --- a/SourceGen/RuntimeData/Apple/GSOS.cs +++ b/SourceGen/RuntimeData/Apple/GSOS.cs @@ -190,8 +190,9 @@ namespace RuntimeData.Apple { // // "Class 1" GS/OS calls. // - // Some changes were made in System 6.0. See "Programmer's Reference for - // System 6.0", by Mike Westerfield / Byteworks. + // Some changes were made since the GS/OS Reference was published for System 5.0. + // See "Programmer's Reference for System 6.0", by Mike Westerfield / Byteworks, + // and GS/OS tech note #13. // { 0x2034, // AddNotifyProcGS new Param[] { PARAM_COUNT, PROC_PTR } @@ -249,8 +250,8 @@ namespace RuntimeData.Apple { { 0x200e, // ExpandPathGS new Param[] { PARAM_COUNT, STRING_PTR, STRING_PTR, MISC2 } }, - { 0x2015, // FlushGS - new Param[] { PARAM_COUNT, REF_NUM } + { 0x2015, // FlushGS (see GS/OS tech note #13) + new Param[] { PARAM_COUNT, REF_NUM, MISC2 } }, { 0x2024, // FormatGS new Param[] { PARAM_COUNT, STRING_PTR, STRING_PTR, MISC2, MISC2, MISC2, BUF_PTR }