-
I tried my hands on fixing that bug. Original code was a bit intractable for me (my C is very rusty), but my version seems to work. More testing is welcome. I think there was also a potential buffer overflow bug that the patch fixes.
2009-05-10 22:49:37 UTC by bjoernguenzel
-
Oh lord, It messed up all the tabs.
Here is the diff.
================
[17:21:32] ollie@shodan src$diff Makefile Makefile.OSX
19c19,23
< CFLAGS = -O -DEXT94 -DXWINGRAPHX -DPERMUTATE
---
> # COMPILER FLAGS FOR COMPILATION OF OS X
> # YOU _MUST_ HAVE THE APPLE DEVELOPER TOOLS AND X11 INSTALLED.
> # BOTH ARE AVALIABLE ON YOUR OS X DVD.
>
> CFLAGS = -O -Dunix -DEXT94 -DXWINGRAPHX...
2007-12-25 06:26:01 UTC by nobody
-
This makefile will allow pmars to compile on OS X.
I suggest including it in the distribution as Makefile.OSX
# OS X makefile
CC = gcc # req. for linux
#CC = cc # if you don't have gcc
# Configuration options:
#
# No. Name Incompatible with Description
# (1) -DSERVER 2 disables cdb debugger (koth server
#.
2007-12-25 06:23:13 UTC by nobody
-
- I included pMARS 0.9.2 modified by M Joonas Pihlaja to use SDL.
- I modularized it and wrapped into DLL and .NET component
- I'm prepared to merge it back to pMARS CVS if owners allow
- Binaries are ready for download
Detailed description, links and source here:
http://nmars.sourceforge.net/pmarsdll.shtml.
2007-03-04 11:52:48 UTC by pavelsavara
-
;sequence with duplicate labels
aa mov 0,0
mov 0,1
aa mov 0,2 ; this row is missing
mov 0,3
aa mov 0,4 ; this row is missing
will become
MOV.I $ 0, $ 0
MOV.I $ 0, $ 1
MOV.I $ 0, $ 3
There is warning about duplicate labels, but that is not enough.
2007-01-06 00:51:01 UTC by pavelsavara
-
Simple case:
mv EQU DAT
xx mv xx
will become
DAT.F # 0, $ -1
Multiline macro:
my EQU MOV 0, 0
EQU NOP 1, bb
EQU DAT 2
aa my aa
bb my aa
my aa
will become
MOV.I $ 0, $ 0
NOP.F $ 1, $ 2
DAT.F # 0, $ -1
MOV.I $ 0, $ 0
NOP.F $ 1, $ -1
DAT.F #.
2007-01-06 00:46:03 UTC by pavelsavara
-
alexanderwait committed patchset 27 of module pQmars to the Corewar CVS repository, changing 4 files.
2005-10-12 01:55:09 UTC by alexanderwait
-
alexanderwait committed patchset 26 of module pQmars to the Corewar CVS repository, changing 6 files.
2005-10-11 20:21:49 UTC by alexanderwait
-
alexanderwait committed patchset 25 of module pQmars to the Corewar CVS repository, changing 4 files.
2005-10-11 00:20:53 UTC by alexanderwait
-
alexanderwait committed patchset 24 of module pQmars to the Corewar CVS repository, changing 1 files.
2005-10-10 22:47:25 UTC by alexanderwait