News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

RECORD

Started by TouEnMasm, February 24, 2016, 07:01:49 PM

Previous topic - Next topic

TouEnMasm


There is no version of jwasm or Hjwasm who accept 64 bits record ?.
Is it possible to have just that on a stable version ?.
Fa is a musical note to play with CL

TouEnMasm


Line too long

RECAD3DDDI_RESOURCEFLAGS      RECORD     DGRestrictSharedAccess    : 1,
            DGRestrictedContent       : 1,
            DGTextApi                 : 1,
            DGInterlacedRefresh       : 1,
            DGMatchGdiPrimary         : 1,
            DGOverlay                 : 1,
            DGMightDrawFromLocked     : 1,
            DGCpuOptimized            : 1,
            DGVideoProcessRenderTarget: 1,
            DGDecodeCompressedBuffer  : 1,
            DGDecodeRenderTarget      : 1,
            DGIndexBuffer             : 1,
            DGVertexBuffer            : 1,
            DGVolume                  : 1,
            DGCubeMap                 : 1,
            DGTexture                 : 1,
            DGPrimary                 : 1,
            DGCaptureBuffer           : 1,
            DGVideo                   : 1,
            DGDiscardRenderTarget     : 1,
            DGSharedResource          : 1,
            DGNPatches                : 1,
            DGRtPatches               : 1,
            DGPoints                  : 1,
            DGNotLockable             : 1,
            DGWriteOnly               : 1,
            DGDMap                    : 1,
            DGAutogenMipmap           : 1,
            DGHintStatic              : 1,
            DGDynamic                 : 1,
            DGZBuffer                 : 1,
            DGRenderTarget            : 1
Fa is a musical note to play with CL

fearless

Seems to be if the text is > 512 it will complain about line too long. Also didnt seem to like spacing between the field name, the : seperator and the width part. Splitting it up works, but thats probably not going to be useful for you (as long as each part is < 512 it seems to compile ok)

RECAD3DDDI_RESOURCEFLAGS1 RECORD DGRestrictSharedAccess:1,
DGRestrictedContent:1,
DGTextApi:1,
DGInterlacedRefresh:1,
DGMatchGdiPrimary:1,
DGOverlay:1,
DGMightDrawFromLocked:1,
DGCpuOptimized:1,
DGVideoProcessRenderTarget:1,
DGDecodeCompressedBuffer:1,
DGDecodeRenderTarget:1,
DGIndexBuffer:1,
DGVertexBuffer:1,
DGVolume:1,
DGCubeMap:1,
DGTexture:1

RECAD3DDDI_RESOURCEFLAGS2 RECORD DGPrimary:1,
DGCaptureBuffer:1,
DGVideo:1,
DGDiscardRenderTarget:1,
DGSharedResource:1,
DGNPatches:1,
DGRtPatches:1,
DGPoints:1,
DGNotLockable:1,
DGWriteOnly:1,
DGDMap:1,
DGAutogenMipmap:1,
DGHintStatic:1,
DGDynamic:1,
DGZBuffer:1,
DGRenderTarget:1

habran

fearless> The newest version of HJWasm will accept 1024 characters and 128 levels of macros
ToutEnMasm> It looks like you are using a wrong structure for your records, because they can not feet in one line
HJWasm is doing a proper job, by letting you know what are you doing wrong 8)

Cod-Father

TouEnMasm

Quote
It looks like you are using a wrong structure for your records
wrong in what ?,could you be more clear.
The newest version of HJWasm made only bad object with Windows 10
The 64 bits records are not solved

Fa is a musical note to play with CL

habran

AFAIK, RECORDs can be created only as many as they feet in one line, if someone knows better please enlighten me
Cod-Father

TouEnMasm

End of record is a line without ","
All other's record  perfectly accepted by jwasm are write like that in further lines.
Ml (all version) accept also this form.
You are enlighten.
Fa is a musical note to play with CL

johnsa

I've fixed this by increasing the line length limit in tokenisation and every combination of the above RECORD appears to be working for me now.

Binary packages updated on the site and source on github.

habran

Good job Johnsa :t
Cod-Father

TouEnMasm

Fa is a musical note to play with CL