--- gforth/ec/shex.fs 2003/03/09 15:17:02 1.4 +++ gforth/ec/shex.fs 2006/02/12 23:45:54 1.7 @@ -1,6 +1,6 @@ \ shex.fs Output Routines for Motorola S-Records 16jul97jaw -\ Copyright (C) 1998,2000 Free Software Foundation, Inc. +\ Copyright (C) 1998,2000,2003 Free Software Foundation, Inc. \ This file is part of Gforth. @@ -81,15 +81,14 @@ variable csum variable start-addr : save-region-shex ( adr len -- ) - bl parse w/o create-file throw to fd - + bl parse w/o create-file throw to fd \ PSC1000 trick: - 'E hemit - 2dup over swap 200 min .sregion - - over swap .sregion - start-addr @ .startaddr - fd close-file throw ; +\ 'E hemit +\ 2dup over swap 200 min .sregion + 0 0 0 '0 .smem + over swap .sregion + start-addr @ .startaddr + fd close-file throw ; >MINIMAL