cpu11 icon indicating copy to clipboard operation
cpu11 copied to clipboard

VM2 byte write without RMW

Open xolod79 opened this issue 1 year ago • 1 comments

VM2 byte write without RMW. In wb_plm.v simple change:

assign p[26] = cmp(rq[15:0], 16'b0001xxxxxxxxxxxx); to assign p[26] = cmp(rq[15:0], 16'bx001xxxxxxxxxxxx); // WTBT no RMW

Probably it is worth making a parameter during assembly for selection. Work is checked on DVK in RT11 and Soyuz Neon. Сorrection author Alexey Kisly. VM2-WTBT-noRMW

xolod79 avatar Aug 29 '24 14:08 xolod79

How "movb" works on original LSI-11: image

How "movb" works on M4: image

How "movb" works on F-11: image

Why should we change this behavior ? It seems it was intended to have the same as DEC did. Single write "movb also might have side effects on some I/O. Should this change be merged? Not sure, because of it impacts original DEC compatibility. Keeping the latter was the objective of BM2 developers.

1801BM1 avatar Aug 29 '24 19:08 1801BM1