Autore Topic: Dasm Osx  (Letto 4622 volte)

Fabbroz75

  • Utente
  • **
  • Post: 65
  • Gioco Preferito: Aufwiedersehen Monty
Dasm Osx
« il: 17 Ottobre 2012, 12:53:52 »
 Ciao a tutti,
sto apportando delle modifiche al DASM sotto OSX 64bit e volevo chiedere il permesso a iAN di poterla "sincronizzare" con la versione fatta da lui sotto Windows.

La versione OSX di Dasm  funziona perfettamente ma manca di quelle piccole accortezze apportate da CooG.

Nel caso, chiedo anche la possibilità, se fosse necessario, di interpellarlo.
Grazie a tutti.
C64/C64c/C128/C16/Vic20 | 64SD Infinity 2.0 |

Fabbroz75

  • Utente
  • **
  • Post: 65
  • Gioco Preferito: Aufwiedersehen Monty
Dasm Osx
« Risposta #1 il: 17 Ottobre 2012, 14:43:15 »
 Ho ricompilato la versione di iAN (2.20.07) e funziona.
stavo apportando piccole modifiche perchè in fase di compilazione mi da dei warning tipo:

Codice: [Seleziona]
Mac-mini-di-fabrizio:src fabrizio$ make
gcc -O  -ansi -std=c99 -pedantic -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Wold-style-definition -Wmissing-declarations -Wmissing-prototypes -Wshadow -Wwrite-strings -Wcast-qual -Wnested-externs -Wcast-align -Wpointer-arith -Wbad-function-cast -Wformat-y2k -Wformat-nonliteral -Wformat-security -Wfloat-equal -Wundef -Winline     -c -o main.o main.c
main.c:68: warning: initialization discards qualifiers from pointer target type
main.c:69: warning: initialization discards qualifiers from pointer target type
main.c:70: warning: initialization discards qualifiers from pointer target type
main.c:71: warning: initialization discards qualifiers from pointer target type
main.c:72: warning: initialization discards qualifiers from pointer target type
main.c:73: warning: initialization discards qualifiers from pointer target type
main.c:74: warning: initialization discards qualifiers from pointer target type
main.c:75: warning: initialization discards qualifiers from pointer target type
main.c:76: warning: initialization discards qualifiers from pointer target type
main.c:77: warning: initialization discards qualifiers from pointer target type
main.c:78: warning: initialization discards qualifiers from pointer target type
main.c:79: warning: initialization discards qualifiers from pointer target type
main.c:80: warning: initialization discards qualifiers from pointer target type
main.c:81: warning: initialization discards qualifiers from pointer target type
main.c:82: warning: initialization discards qualifiers from pointer target type
main.c:83: warning: initialization discards qualifiers from pointer target type
main.c:84: warning: initialization discards qualifiers from pointer target type
main.c:85: warning: initialization discards qualifiers from pointer target type
main.c:86: warning: initialization discards qualifiers from pointer target type
main.c:87: warning: initialization discards qualifiers from pointer target type
main.c:88: warning: initialization discards qualifiers from pointer target type
main.c:89: warning: initialization discards qualifiers from pointer target type
main.c:90: warning: initialization discards qualifiers from pointer target type
main.c:91: warning: initialization discards qualifiers from pointer target type
main.c:92: warning: initialization discards qualifiers from pointer target type
main.c:93: warning: initialization discards qualifiers from pointer target type
main.c:98: warning: no previous prototype for ‘CountUnresolvedSymbols’
main.c:113: warning: no previous prototype for ‘ShowUnresolvedSymbols’
main.c:135: warning: no previous prototype for ‘CompareAlpha’
main.c: In function ‘CompareAlpha’:
main.c:144: warning: cast discards qualifiers from pointer target type
main.c:145: warning: cast discards qualifiers from pointer target type
main.c:164: warning: value computed is not used
main.c:165: warning: value computed is not used
main.c:181: warning: value computed is not used
main.c:182: warning: value computed is not used
main.c: At top level:
main.c:195: warning: no previous prototype for ‘CompareAddress’
main.c: In function ‘CompareAddress’:
main.c:200: warning: cast discards qualifiers from pointer target type
main.c:201: warning: cast discards qualifiers from pointer target type
main.c: At top level:
main.c:207: warning: no previous prototype for ‘ShowSymbols’
main.c:315: warning: no previous prototype for ‘ShowSegments’
main.c: In function ‘ShowSegments’:
main.c:324: warning: assignment discards qualifiers from pointer target type
main.c: At top level:
main.c:390: warning: no previous prototype for ‘DumpSymbolTable’
main.c:408: warning: no previous prototype for ‘Skipendofbuf’
main.c:424: warning: no previous prototype for ‘MainShadow’
main.c: In function ‘MainShadow’:
main.c:511: warning: assignment discards qualifiers from pointer target type
main.c:524: warning: passing argument 1 of ‘panic’ discards qualifiers from pointer target type
main.c:645: warning: assignment discards qualifiers from pointer target type
main.c:663: warning: cast from pointer to integer of different size
main.c: At top level:
main.c:779: warning: no previous prototype for ‘tabit’
main.c: In function ‘outlistfile’:
main.c:832: warning: assignment discards qualifiers from pointer target type
main.c:834: warning: assignment discards qualifiers from pointer target type
main.c:836: warning: assignment discards qualifiers from pointer target type
main.c: In function ‘cleanup’:
main.c:954: warning: initialization discards qualifiers from pointer target type
main.c:1032: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘size_t’
main.c:1032: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘size_t’
main.c:1038: warning: cast from pointer to integer of different size
main.c:1038: warning: cast from pointer to integer of different size
main.c:1039: warning: passing argument 1 of ‘panic’ discards qualifiers from pointer target type
main.c:1045: warning: passing argument 1 of ‘panic’ discards qualifiers from pointer target type
main.c:1049: warning: passing argument 1 of ‘panic’ discards qualifiers from pointer target type
main.c: In function ‘parse’:
main.c:1225: warning: ordered comparison of pointer with integer zero
main.c: In function ‘v_macro’:
main.c:1414: warning: passing argument 1 of ‘outlistfile’ discards qualifiers from pointer target type
main.c:1437: warning: cast from pointer to integer of different size
main.c: In function ‘asmerr’:
main.c:1527: warning: declaration of ‘abort’ shadows a global declaration
/usr/include/stdlib.h:145: warning: shadowed declaration is here
main.c:1547: warning: format not a string literal, argument types not checked
main.c:1547: warning: format not a string literal, argument types not checked
main.c:1551: warning: format not a string literal, argument types not checked
main.c:1551: warning: format not a string literal, argument types not checked
main.c: In function ‘zmalloc’:
main.c:1583: warning: passing argument 1 of ‘panic’ discards qualifiers from pointer target type
main.c: In function ‘ckmalloc’:
main.c:1594: warning: passing argument 1 of ‘panic’ discards qualifiers from pointer target type
main.c: In function ‘permalloc’:
main.c:1617: warning: passing argument 1 of ‘panic’ discards qualifiers from pointer target type
main.c:1621: warning: passing argument 1 of ‘panic’ discards qualifiers from pointer target type
gcc main.o ops.o globals.o exp.o symbols.o mne6502.o -o dasm
make: *** No rule to make target `ftohex.o', needed by `ftohex'.  Stop.

Ho provato a compilare una mia demo e parte perfettamente.
Sorgenti + eseguibile mac


Dasm OSX
C64/C64c/C128/C16/Vic20 | 64SD Infinity 2.0 |

eregil

  • Administrator
  • Utente
  • *****
  • Post: 710
  • Gioco Preferito: Impossible Mission
Dasm Osx
« Risposta #2 il: 17 Ottobre 2012, 15:00:57 »
 Scusa, perché non contatti direttamente iAN CooG? Magari assicurati che le tue patch non "rompano" la compilazione per altre piattaforme e mandagliele. Oppure pubblicale da qualche parte.
 
Non rispondo a richieste private, di qualunque genere esse siano.
Per domande tecniche leggete le FAQ e usate l'apposito forum.
Per questioni amministrative contattate lo staff tramite il form Contatti sul sito.

Fabbroz75

  • Utente
  • **
  • Post: 65
  • Gioco Preferito: Aufwiedersehen Monty
Dasm Osx
« Risposta #3 il: 17 Ottobre 2012, 15:11:46 »
Citazione da: "eregil"
Scusa, perché non contatti direttamente iAN CooG? Magari assicurati che le tue patch non "rompano" la compilazione per altre piattaforme e mandagliele. Oppure pubblicale da qualche parte.
era solo per condividerle con voi....
C64/C64c/C128/C16/Vic20 | 64SD Infinity 2.0 |

eregil

  • Administrator
  • Utente
  • *****
  • Post: 710
  • Gioco Preferito: Impossible Mission
Dasm Osx
« Risposta #4 il: 17 Ottobre 2012, 15:12:49 »
 Appunto, dove sono?
 
Non rispondo a richieste private, di qualunque genere esse siano.
Per domande tecniche leggete le FAQ e usate l'apposito forum.
Per questioni amministrative contattate lo staff tramite il form Contatti sul sito.

Fabbroz75

  • Utente
  • **
  • Post: 65
  • Gioco Preferito: Aufwiedersehen Monty
Dasm Osx
« Risposta #5 il: 17 Ottobre 2012, 15:17:41 »
Citazione da: "eregil"
Appunto, dove sono?
Hai ragione, ho messo i sorgenti + l'eseguibile per mac nel secondo post.
Non ha ancora le patch ma funziona.
C64/C64c/C128/C16/Vic20 | 64SD Infinity 2.0 |

fab

  • Utente
  • **
  • Post: 493
    • http://wav-prg.sourceforge.net/
  • Gioco Preferito: Tetris, Turrican, Impossible Mission
Dasm Osx
« Risposta #6 il: 17 Ottobre 2012, 19:07:51 »
 "discards qualifiers from pointer target" significa che stai provando ad assegnare un valore non-const a qualcosa che deve essere const
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
Dasm Osx
« Risposta #7 il: 17 Ottobre 2012, 21:49:02 »
 fai pure, non detengo alcun diritto sulla modifica, nemmeno io ho chiesto il permesso a chichessia, ho preso il sorgente da qualche parte e ne ho fatto le modifiche che mi interessavano.
-=[]=--- iAN CooG/HVSC^C64Intros ---=[]=-
- http://hvsc.c64.org - http://intros.c64.org -