From: Ron Maisch [maiscron@Hilltown.com] Sent: Tuesday, June 06, 2000 10:32 AM To: Info-VAX@Mvb.Saic.Com Subject: Porting VAX Macro code to AXP Hello all, Just signed up with the list as I've been thrown into the joy of Upgrading a VAX MACRO application to AXP. In my reading So far I have found that a translator (VEST) is not usable due to Some of the coding implementations. If anyone could help me out Or point me to sources I'd greatly appreciate it. Now onto the fun. Much of the code is similar to this, I know a common Compaq Wizard Response includes "find a new call that does the same thing ...", they May exist for this, but the errors are common among a lot of routines. Here is a sample of the code, with a few notes. I can find mention of the $setast system call, but not $setast_s. This and the datincode error Are the biggest problems at this time. If anyone spots additional problems feel free to throw comments in as I'll eventually hit them Im sure. Thanks for your time, Ron Maisch Maiscron@hilltown.com (Please copy me directly as I'm in digest mode) ======================================================================= .transfer my$get .mask my$GET,^M jmp smc$get+2 .subtitle my$GET .page .entry my$GET,^M Init_get: $setast_s enbflg=#0 ; disable AST delivery movl r0,setast_r0 ; save status value movl #6,pis_numargs ; number of legal arguments movl #1,r0 ; test for greater or equal jsb check_arg_count cmpl #1,r0 beql get_move_args movl (ap)+,args_left ;save for now movl (ap)+,get_chan movl (ap)+,get_key movl (ap)+,get_type movl (ap)+,get_lock movl (ap)+,get_stat movw #-9,@get_stat jsb return ; check AST state and exit routine ======================================================================= Problems: 1) .transfer and .mask directives not supported. Fix - comment out the .transfer, .mask, and jmp lines, add a symbol vector when compiling as SYMBOL_VECTOR=(my$get=PROCEDURE) 2) $setast_s embflg=#0 - data in code stream