Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

prepare 1.180 release

  • Loading branch information...
commit efd6916486f99fcc73427c7e876616edb9f7f68d 1 parent 4013282
viznut authored
9 src/Makefile
@@ -14,8 +14,11 @@ clean:
14 14 rm -f *.o *~ ibniz vmtest ibniz.exe whole.c
15 15
16 16 package: clean
17   - cd .. && tar czf ibniz-1.1.tar.gz ibniz-1.1/
18   -
  17 + cd .. && cp -R IBNIZ ibniz-1.2 && tar czf ibniz-1.2.tar.gz ibniz-1.2
  18 +
  19 +winexe: clean
  20 + mkdir ../winbuild && cp * ../winbuild && cd ../winbuild && make -f Makefile.win
  21 +
19 22 #$(EXE): whole.c
20 23 # $(CC) -s -O3 -ffast-math -fwhole-program whole.c -o $(EXE) $(FLAGS) -lm
21 24
@@ -23,7 +26,7 @@ package: clean
23 26 # cat ui_sdl.c vm_slow.c clipboard.c > whole.c
24 27
25 28 $(EXE): ui_sdl.o vm_slow.o clipboard.o
26   - $(CC) -Os ui_sdl.o vm_slow.o clipboard.o -o $(EXE) $(FLAGS) -lm
  29 + $(CC) -Os -s ui_sdl.o vm_slow.o clipboard.o -o $(EXE) $(FLAGS) -lm
27 30
28 31 ui_sdl.o: ui_sdl.c ibniz.h font.i vm.h texts.i vm.h
29 32 $(CC) -c -Os ui_sdl.c -o ui_sdl.o $(FLAGS)
1  src/Makefile.osx
@@ -31,3 +31,4 @@ font.i: font.pl
31 31
32 32 runtest: vmtest
33 33 ./vmtest
  34 +
35 src/Makefile.win
... ... @@ -0,0 +1,35 @@
  1 +# For normal builds; remove -DX11 -lX11 from flags if you don't have X11
  2 +CC=i586-mingw32msvc-gcc
  3 +EXE=ibniz.exe
  4 +FLAGS=-L./SDL-1.2.14/lib -I./SDL-1.2.14/include -static -lmingw32 SDL-1.2.14/lib/libSDL.a SDL-1.2.14/lib/libSDLmain.a -mwindows -lwinmm
  5 +all: ibniz.exe
  6 +
  7 +clean:
  8 + rm -f *.o *~ ibniz vmtest ibniz.exe whole.c
  9 +
  10 +package: clean
  11 + cd .. && cp -R IBNIZ ibniz-1.2 && tar czf ibniz-1.2.tar.gz ibniz-1.2
  12 +
  13 +$(EXE): whole.c
  14 + $(CC) -s -O3 -ffast-math -fwhole-program whole.c -o $(EXE) $(FLAGS) -lm
  15 +
  16 +whole.c: vm_slow.c ui_sdl.c clipboard.c texts.i font.i vm.h ibniz.h
  17 + cat ui_sdl.c vm_slow.c clipboard.c > whole.c
  18 +
  19 +ui_sdl.o: ui_sdl.c ibniz.h font.i vm.h texts.i vm.h
  20 + $(CC) -c -Os ui_sdl.c -o ui_sdl.o $(FLAGS)
  21 +
  22 +clipboard.o: clipboard.c ibniz.h
  23 + $(CC) -c -Os clipboard.c -o clipboard.o $(FLAGS)
  24 +
  25 +vm_slow.o: vm_slow.c ibniz.h vm.h
  26 + $(CC) -c -O3 vm_slow.c -o vm_slow.o
  27 +
  28 +font.i: font.pl
  29 + perl font.pl > font.i
  30 +
  31 +runtest: vmtest
  32 + ./vmtest
  33 +
  34 +vmtest: vm_test.c vm_slow.c
  35 + gcc vm_test.c vm_slow.c -o vmtest -lm
11 src/ibniz.txt
@@ -506,19 +506,12 @@ v7rs6ldv*vv*7&@xr.8&$b
506 506 - More examples included in the distribution package
507 507 - Help screen implemented
508 508
509   -1.2000 (already there)
  509 +1.1800
510 510 - Clipboard bugs fixed, window icon added
  511 +- Machine status panel implemented
511 512
512 513 === FUTURE ===
513 514
514   -1.2000 (TODO!)
515   -- Include a machine status panel
516   -
517   -1.3000 (TODO!)
518   -- Analyzer; execution speed increase
519   - - for interpreter: pseudo-opcodes to separate y-loop and t-loop
520   - - for compiler
521   -
522 515 Tasks in an approximate order of priority:
523 516 - Fix problems that prevent IBNIZ from working in some systems
524 517 - Fix other known bugs
4 src/texts.i
@@ -10,14 +10,14 @@ char*usagetext=
10 10 // " -M(edia) Dump media data (YUV video to stdout)\n"
11 11
12 12 char*versiontext=
13   - "IBNIZ version 1.12-NONRELEASE";
  13 + "IBNIZ version 1.1180";
14 14
15 15 char*welcometext=
16 16 "\n"
17 17 "\n"
18 18 "\n"
19 19 "\n"
20   - "\\ IBNIZ 1.12-NONRELEASE\n"
  20 + "\\ IBNIZ 1.1180\n"
21 21 "\\\n"
22 22 "\\ Press f12 for help.\n";
23 23
2  src/vm.h
@@ -45,4 +45,4 @@ GLOBAL struct
45 45 int32_t mem[MEMSIZE];
46 46 } vm;
47 47
48   -#endif
  48 +#endif

0 comments on commit efd6916

Please sign in to comment.
Something went wrong with that request. Please try again.