From c631b3fa49932b96f2d698cb3cb58c80747c2995 Mon Sep 17 00:00:00 2001 From: John Bintz Date: Wed, 17 Apr 2024 19:47:43 -0400 Subject: [PATCH] Bump version, fix multi-reg moves, add patches to gitignore --- .gitignore | 1 + src/BSDSocket.s | 2 +- src/fd_set.s | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 3de2fdf..dee44a7 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,4 @@ src/*.Lib .vamosrc activate test/ +patches/ diff --git a/src/BSDSocket.s b/src/BSDSocket.s index 53d9e16..fdfbf08 100644 --- a/src/BSDSocket.s +++ b/src/BSDSocket.s @@ -7,7 +7,7 @@ ; extension number 18 ExtNb equ 18-1 Version MACRO - dc.b "1.1.2-20240318" + dc.b "1.1.3-20240417" ENDM VerNumber equ $1 diff --git a/src/fd_set.s b/src/fd_set.s index 3d3d08d..b659aea 100644 --- a/src/fd_set.s +++ b/src/fd_set.s @@ -30,7 +30,7 @@ LeaFdset MACRO ; LeaFdsetForBit fd_set reg,target address,target bit in address LeaFdsetForBit MACRO LeaFdset \1,\2 ; get fdset base address in \2 - MOVE.L D3-D4,-(SP) + MOVEM.L D3-D4,-(SP) MOVE.L \3,D3 ; Put target bit into D3 ROR.L #5,D3 ; lop off the first 5 bits AND.L #$7,D3 ; only keep the top three @@ -43,6 +43,6 @@ LeaFdsetForBit MACRO MOVEQ #1,D3 ROL.L D4,D3 ; shift that bit left as many as target MOVE.L D3,\3 ; put that in the target - MOVE.L (SP)+,D3-D4 + MOVEM.L (SP)+,D3-D4 ENDM