Autore Topic: Tapclean V0.22  (Letto 1815 volte)

fab

  • Utente
  • **
  • Post: 493
    • http://wav-prg.sourceforge.net/
  • Gioco Preferito: Tetris, Turrican, Impossible Mission
Tapclean V0.22
« il: 26 Ottobre 2008, 17:32:27 »
 Finalmente la versione 0.22 di Tapclean, il programma di ripulitura di file TAP, evoluzione di Final TAP.

La pagina SF, http://sourceforge.net/projects/tapclean , contiene la sorgente e i binari Windows e Linux.

Novità della versione, copiate e incollate dal file HISTORY.txt

v0.22
   Added proper SEQ file support (Luigi)
   First attempt to make the source 64-bit safe in gcc compiler (Luigi)
   Removed system calls after suggestion from iAN CooG (Luigi)
   Moved prg file making from analyze() to report() (Luigi)
   Integrated Action Replay and Easytape scanners done by iAN CooG (Fabbo)
   Pavload scanner has been enhanced, but cleaning of tapes won't yet fix
    a problem with the last pulse, which is known to be 0x3F if broken and
    no 0x1F preceeds it, otherwise it's 0x1F (Luigi)
   Compilation fixes for Microsoft Visual C++ (Windows) and DJGPP (MS-DOS)
   Uniformed code and comments in the new scanners (Luigi)
   Added read error check for unreadable checkbytes in the new scanners (Luigi)
   Removed Easytape and substituted Action Replay scanner (Luigi)
   Fixed "prg" folder access rights upon creation under Linux (Luigi)
   Added Ash+Dave scanner (Luigi)
   Fixed pulse disambiguation check in c64tape.c (Fabbo)
   Added Freeload Slowload scanner (Luigi)
   Implemented integer wraparound prevention in new scanners (Luigi)
   Improved recognition of CBM DATA blocks when data starts with 0x01...0x06
    by requesting a plausibility check on load and end addresses. Those blocks
    should not be misrecognized as CBM HEADER ones anymore. Maggotmania is now
    recognized properly (Luigi)
   Improved recognition of CBM HEADER blocks in Ping Pong (payload is 294 byte
    long) (Luigi)
 
Un giapponese sa recitare a memoria tutti i numeri di pi greco fino all'83431º decimale. Sa a memoria anche l'unico numero telefonico che è nella sua agendina - Daniele Luttazzi

iAN CooG

  • Utente
  • **
  • Post: 1774
    • http://iancoog.altervista.org
  • Gioco Preferito: Turbo Assembler, ActionReplay Monitor, DiskDemon
Tapclean V0.22
« Risposta #1 il: 26 Ottobre 2008, 17:56:39 »
 I sorgenti li ho scaricati qualche giorno fa da SF, e ho notato un paio di cosette, anche se poi non l'ho ancora effettivamente provato.
Compilando con MSVC 7.1 e Mingw/GCC non trovava la definizione di intptr_i e di _findfirst, ho dovuto modificare database.c cosi'
Codice: [Seleziona]
--- tapclean022/database.c 2008-10-04 19:12:12 +0000
+++ tapclean022_1/database.c 2008-10-22 13:27:24 +0000
@@ -6,4 +6,12 @@
  */
 
+#ifdef WIN32
+#include <io.h>
+#ifdef _MSC_VER
+#include <stddef.h>
+#else
+#include <stdint.h>
+#endif
+#endif
 #include "mydefs.h"
 #include "database.h"

Poi una cosa che sarebbe da uniformare sarebbe l'uso di int anziche' long (che da solo significa long int) e di double anziche' float, con una bella replace globale.
Cosa ne dici?
-=[]=--- iAN CooG/HVSC^C64Intros ---=[]=-
- http://hvsc.c64.org - http://intros.c64.org -

fab

  • Utente
  • **
  • Post: 493
    • http://wav-prg.sourceforge.net/
  • Gioco Preferito: Tetris, Turrican, Impossible Mission
Tapclean V0.22
« Risposta #2 il: 28 Ottobre 2008, 23:53:10 »
 
Citazione da: "iAN CooG/HF"
Compilando con MSVC 7.1 e Mingw/GCC non trovava la definizione di intptr_i
Strano, l'ho appena compilato con MinGW senza problemi. Anche con VS8 (2005) funziona, il 7 non ce l'ho.
Citazione da: "iAN CooG/HF"
una cosa che sarebbe da uniformare sarebbe l'uso di int anziche' long (che da solo significa long int) e di double anziche' float, con una bella replace globale
Sono d'accordo. Specialmente long non andrebbe mai usato, perché dà problemi con i compilatori a 64 bit. Quando trovo un po' di tempo (cioè mai) lo faccio, e vediamo se non si rompe nulla.

Tra l'altro, l'ho compilato anche per MS-DOS, usando DJGPP. Dovrei dare il binario a Bo Kvamme, che è l'unico che può fare release. E' utile per verificare i dump appena fatti con mtap, ed eventualmente provarli con VICE per DOS.
Un giapponese sa recitare a memoria tutti i numeri di pi greco fino all'83431º decimale. Sa a memoria anche l'unico numero telefonico che è nella sua agendina - Daniele Luttazzi