开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

Re: VSE mini-clone


 

On Sat, Sep 14, 2024 at 08:29 PM, Joe Monk wrote:


// DLBL IJSYSLN,,0,SD
// EXTENT SYSLNK,,,,12000,2000 SPACE-LINK
ASSGN SYSLNK,SYS000
// OPTION CATAL
// DLBL IJSYSIN,'PDPPUNCH.DAT'
ASSGN SYSIPT,SYS000
INCLUDE
CLOSE SYSIPT,READER
// EXEC LNKEDT
ASSGN SYSLNK,UA

What is the purpose of this?

ASSGN SYSLNK,SYS000

When you do this...

ASSGN SYSIPT,SYS000

you override your SYSLNK assignment.
I don't know how it works, but I found what I believe
is the source of the syntax:


compvse.m4 in my fork of gcc 3.2.3

* assemble %s
*
// DLBL IJSYSLN,,0,SD
// EXTENT SYSLNK,,,,14000,1000 SPACE-PHASE
ASSGN SYSLNK,SYS000
// OPTION LINK
// OPTION CATAL,LIST
PHASE %s,S+80
// DLBL IJSYSIN,'%s.ASM'
ASSGN SYSIPT,SYS000
// EXEC ASSEMBLY
CLOSE SYSIPT,READER
*
*
*
*
* link %s
*
INCLUDE VSESTART
INCLUDE STDIO
INCLUDE STRING
INCLUDE STDLIB
INCLUDE CTYPE
INCLUDE ERRNO
INCLUDE LOCALE
INCLUDE MATH
INCLUDE SIGNAL
INCLUDE SETJMP
INCLUDE ASSERT
INCLUDE TIME
INCLUDE START
INCLUDE VSESUPA
ENTRY @@MAIN
// EXEC LNKEDT
ASSGN SYSLNK,UA
*


BFN. Paul.

Join [email protected] to automatically receive all group messages.