HiSoft DevPac and OS3.2
Hi, I know that DevPac is not the favourite Assembler for most of you
but I did all of my old projects with this package.
So I tried to assemble my old projects with the current includes
and this is a list of fixes I hat to apply. May someone be interested.
;datatypes/datatypeclass.i
; change 0x to $
STMF_METHOD_MASK equ $0000ffff
STMF_DATA_MASK equ $00ff0000
STMF_RESERVED_MASK equ $ff000000
STMD_VOID equ $00010000
STMD_ULONG equ $00020000
STMD_STRPTR equ $00030000
STMD_TAGLIST equ $00040000
;missing define
DTM_Dummy equ $0000
;datatypes/pictureclass.i
; line 35+ remove spaces in brackets like
;
;PDTA_ModeID equ (DTA_Dummy + 200)
; to
;PDTA_ModeID equ (DTA_Dummy+200)
;
; not sure but otherwise MethodID is defined twice:
STRUCTURE pdtBlitPixelArray,methodid_SIZEOF
;ULONG MethodID
;datatypes/animationclass.i
; defined twice
; STRUCTURE adtFrame,0
;datatypes/textclass.i
; change
TEXTDTCLASS equ 'text.datatype'
; to
TEXTDTCLASS MACRO
dc.b 'text.datatype',0
ENDM
;prefs/workbench.i
; ra_SIZEOF undefine so needed
IFND GRAPHICS_GFX_I
INCLUDE "graphics/gfx.i"
ENDC
; to times c-style comments not allowed
/* new for V47 */
; changed to
* new for V47 *
;prefs/printertxt.i
;line 89 missing offset
STRUCTURE PrinterDeviceUnitPrefs
; to
STRUCTURE PrinterDeviceUnitPrefs,0
The 3.2.x NDK R4 works perfectly with DevPac out of the box for my needs.... except... I really wish the include files for the Reaction classes existed.
Yes I had noticed that the includes don't cover that. I've been asked a couple of times about making rebuild generate asm code. While it would be possible none of it is going to assemble without the includes being updated.
Online Status
Thanks !