!CLEARand nothing else (except comments and empty lines).
!LSHIFT 1 7
!RSHIFT 6 4
!VSHIFT RSHIFT
0 -3 0
0 -3 1
So everybody doing graphics here: launch your photoshop, start drawing and help out making MacVICE a real Mac App experience ;)
Icons are 128x128 Pixel in size with RGB and alpha channel. Best use lossless TIFF for storage.
Hey, really nice icons... They allude to the new "metal frame" look introduced in Leopard for System Prefs and Terminal.app... I like them! Now on to the file types :D
And I have been busy, too: a fresh snapshot is online!
vice-1.22.8-r393_20080903
...and now I just remembered that the same person is behind those two projects. :)
I had a program for Tiger that could change the short name of your home folder, but in Leopard this doesn't work. Does anyone a tool for Leopard which can do this?
@MagerValp: finally added "Allow Keyset Joystick" with blazingly short short cut CMD+K to toggle key-based joystick on/off :)
This version is the feature freeze for 2.1 and finally completes the feature set for x64
you can drag & drop an image file onto the control window to attach it to the underlying device.
How? The control window disappears as soon as VICE loses focus :)Finder will only grab focus if you click on it and then release the button, so if you make sure your Finder window with the disk images is somewhere accessible when VICE is on top of it, give focus to VICE, then click-and-drag the file from Finder in one move it won't steal focus.
VICE is the Versatile Commodore Emulator, it emulates the Commodore C64,
C128, VIC20, PET, PLUS4 and the CBM-II, as well as the C64 DTV, and it
runs on Win32, Unix, DOS, RiscOS, OS/2, BeOS, QNX, SkyOS, AmigaOS and
GP2X systems.
VICE is *free* software released under the GNU General Public License,
and as such it comes with full source code.
Most important changes since the last version include:
* Changes in VICE 2.1
======================
** General
----------
- The VICEplus project has been joined with VICE. Thus, x64dtv is now
part of VICE.
- We can be contacted via IRC: #vice-dev on freenode
- Added a more accurate ReSID engine using floating point math (ReSID-FP).
- Added support for the USB HardSID.
- PAL emulation has been rewritten and optimized.
- Fixed the ACIA 6551 emulation. (x64/x128/xcbm2/xpet/xplus4)
- Monitor commands help text is now translated too
(in ports where translation is available at all)
- Monitor IO command now displays IO area even if it is currently
banked out.
- GCR file handling (.G64) issues an error message if the .G64 does not
have the expected structure. Before, VICE just silently ignored such
files.
- IRQ handling fix
** C64/C128 changes
-------------------
- Fixed the digimax sound generation.
- Added the RR clockport disable functionality at $DF00.0. Allows
to disable the RRnet.
- Improved REU compatibility and timing.
** C64 changes
--------------
- Added isepic cartridge emulation.
- Added Double Quick Brown Box cartridge emulation.
** VIC20 changes
----------------
- Improved the sound emulation.
- Fixed the lowest note bug.
- Improved VIC emulation (exact in-line color/reverse mode changes).
** C64DTV changes
-----------------
- New emulator.
** Unix changes
---------------
- XRandR fullscreen implemented
- Command line option `-fullscreen' is supposed to do something
useful.
- Vsync code imported from win32 (based on openGL extension).
see also doc/openGLsync-howto.txt.
- Vidmode (fullscreen support) is broken and therefore marked as
deprecated. It will be removed in the next release if no-one takes
responsibility to fix the broken code and is willing to maintain the
code.
- PAL Emulation (new implementation, improved speed) should be usable
again (it was broken on certain display depths).
- Log messages are always english.
- Only x11 keymaps will be installed when doing a 'make install'.
- MIDI cartridge emulation for x128, x64 and xvic.
** MS-Windows changes
---------------------
- Watcom generated executables are more optimized.
- MIDI cartridge emulation for x128, x64 and xvic.
- When specifying the target for the RS232 communication
(Menu Settings/RS232 Settings), the target can be specified by
name now. Before, you had to use the IP address.
- Fixed some minor errors with the RS232 communication via TCP
connections.
- RS232 can use real devices now, too.
To use this feature, you have to specify the COM port used in
Settings/RS232 Settings like:
\\.\com1: baud=57600 parity=N data=8 stop=1
The characters after the colon can be used to specify additional
settings for the COM port. The string must have the same form as the
mode command's command-line arguments:
[baud=b][parity=p][data=d][stop=s][to={on|off}][xon={on|off}]
[odsr={on|off}][octs={on|off}][dtr={on|off|hs}][rts={on|off|hs|tg}]
[idsr={on|off}]
The above example specifies COM1 with a baud rate of 57600, no parity,
8 data bits and 1 stop bit.
Note that the leading \\.\ is used to distinguish between TCP/IP
targets and real devices, thus, you have to use it.
(Sorry, no fancy UI yet.)
- vsid GUI reworked:
* infoline appears only by pressing "I"
* raises process priority. Otherwise, when in background,
looses cpu power and music is not played at correct speed
* drag&drop support; window also gets focus back on drop
* correct display of emulated sid model (when using -keepenv)
* changed colors
- fixed copy function from the VICE monitor window.
** AmigaOS changes
------------------
** OS/2 changes
---------------
- Fixed 24/32bit display depth problem.
** GP2X changes
---------------
- Fixed black screen problem.
- Pause emulation while the menu is open.
- Added experimental support for USB keyboard and joystick.
- Removed vsid.
** Mac OS X changes
-------------------
- x64a.app and x64dtv.app (Cocoa) are now feature complete
* added flip lists
* added netplay dialog
* added ROM resources
* added video settings dialog
* added record snapshot dialog
- Introduced new control window that replaces old peripherals drawer
* with tape control buttons
* attach/eject buttons for each drive
* drag & drop of disk/tape images
- Introduced Cocoa compile for Mac OS X 10.5 and greater with more features
(see extended Resource Inspector)
- Completely rewritten joystick driver that supports user-definable buttons
for fire and all directions.
- Copy & Paste support for emulator and monitor/log window
- Added x2, x3, x4 view scaling like in Quicktime Player
- Store visibility and size of all windows in user's preferences
- Added Keyset Joystick toggle to quickly disable keyboard joysticks
- Added MIDI support
Cool. I built VICE a few hours ago, and that snapshot had lots of problems... most notably autostart doesn't seem to work correctly, I have to type RUN after launching with "open foo.d64".
* Compilation fails with --enable-memmap, due to an extra comma on line 621 in src/gfxoutputdrv/quicktimedrv.c
* Reset and Monitor buttons are swapped in the CPU JAM requester.
Anything more causing trouble? Just, post the problem...
Ah... I remember... its still an open topic. Embarrassed I'll have a look at it.
Bug fixed.
Please note: autostart doesn't alter True Drive Emulation anymore.
Index: build/macosx/build-vice-dist.sh
===================================================================
--- build/macosx/build-vice-dist.sh (revision 20706)
+++ build/macosx/build-vice-dist.sh (working copy)
@@ -72,6 +72,11 @@
echo " sdk version: $SDK_VERSION"
echo
+# ----- determine number of CPUs -----
+NUM_CPUS=`hostinfo | grep 'processors are logically available' | awk '{print $1}'`
+echo "$NUM_CPUS processor cores detected"
+echo
+
# ----- determine build options -----
echo "----- Determine Build Options -----"
@@ -102,7 +107,7 @@
}
# default configure flags
-CONFIGURE_FLAGS="--disable-nls"
+CONFIGURE_FLAGS="--disable-nls --enable-memmap"
# check for gtk+ libs
if [ "$UI_TYPE" = "gtk" ]; then
@@ -233,7 +238,7 @@
$VICE_SRC/configure --host=$BUILD_ARCH2-apple-darwin $CONFIGURE_FLAGS \
--x-includes=$BUILD_SDK/usr/X11R6/include --x-libraries=$BUILD_SDK/usr/X11R6/lib
set +x
- make 2>&1 | tee build.log
+ make -j $NUM_CPUS 2>&1 | tee build.log
echo "--- Warnings ---"
fgrep warning: build.log
popd
Interesting. What's the reasoning behind this change?
I also see that no progress has been made with the long standing bug of TDE being switched off after loading a prg file...
BTW, here's my patch to build-vice-dist.sh that autodetects the number of CPU cores to speed up the build:
QuoteInteresting. What's the reasoning behind this change?
Good point. AFAIK autostart should reduce the state changes done to the emulation on default.
I like the idea with the ROM detection! I already did a first experimental implementation for VICE (r20711). However I am not sure if that works reliable for all cases and emulators. I'd really appreciate if you could test it and give me some input on that.
QuoteI also see that no progress has been made with the long standing bug of TDE being switched off after loading a prg file...
PRG loading is currently implemented by mounting the file system where the file resides as a virtual file system on unit 8.
Then the file is loaded and unfortunately the whole unit 8 state is not restored. Its mainly missing because state restoration is not trivial... :/
What I'd prefer here is to have some kind of "DMA" PRG load that directly loads the file into emu RAM without altering unit 8.
That involves setting up a basic load and is heavily system dependent but maybe I'll give it a try with x64...
Looking at the code, it's obvious that it'll only work for x64, and it looks like it'd fail if it autostarts code at $c000. On machines with bankswitching (like C128 and Plus/4) how you'd go about it, without adding what I suspect is a fairly costly check in the core CPU emulation.
Just pushing the bytes in there, and adjusting the basic end address seems like a much simpler solution, yeah.
QuoteLooking at the code, it's obvious that it'll only work for x64, and it looks like it'd fail if it autostarts code at $c000. On machines with bankswitching (like C128 and Plus/4) how you'd go about it, without adding what I suspect is a fairly costly check in the core CPU emulation.
I improved the code a bit to wait for the LOADING stage and then do >= $e000 check only.
I agree that other machines can cause trouble... - and have no fix for them currently :( Fortunately, the worst thing that might happen is warping toggled at the wrong point in AutostartWarp mode. Without Warp everything should work as before.
QuoteJust pushing the bytes in there, and adjusting the basic end address seems like a much simpler solution, yeah.
I did a first very rough experiment on this in the chris/v2.1.9-filedma branch.
It does dma load for x64 for prg files.
Machine specific code is a skeleton only as I need external help there.
Feel free to play with the code and keep your patches coming ;)
[21068] should fix the sound resume problems you mentioned.
vice/src/arch/unix/macosx/cocoa/view/fullscreenwindow.m:112:5: warning: method '-toggleFullscreen:' not found (return type defaults to 'id')
[[self delegate] toggleFullscreen:self];
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vice/src/arch/unix/macosx/cocoa/view/vicewindow.m:205:39: warning: incompatible type sending 'VICEWindow *', expected 'id<NSWindowDelegate>'
[fullscreenWindow setDelegate:self];
^~~~
vice/src/arch/unix/macosx/cocoa/dialog/resourceeditorcontroller.m:62:27: warning: incompatible type sending 'ResourceEditorController *', expected 'id<NSOutlineViewDelegate>'
[treeView setDelegate:self];
^~~~
vice/src/arch/unix/macosx/cocoa/dialog/resourceeditorcontroller.m:63:29: warning: incompatible type sending 'ResourceEditorController *', expected 'id<NSOutlineViewDataSource>'
[treeView setDataSource:self];
^~~~
vice/src/arch/unix/macosx/mididrv.c:252:26: warning: initializing 'MIDIPacket const[1]' discards qualifiers, expected 'MIDIPacket *'
MIDIPacket *packet = pktlist->packet;
^~~~~~~~~~~~~~~
Process: x64 [84653]
Path: /Users/pelle/src/vice/build/cocoa-10.6/i386/vice-macosx-cocoa-i386-10.6-2.1.14/x64.app/Contents/MacOS/x64
Identifier: org.viceteam.x64
Version: ??? (2.1.14)
Code Type: X86 (Native)
Parent Process: launchd [86]
Date/Time: 2009-06-30 23:27:35.937 +0200
OS Version: Mac OS X 10.6 (10A394)
Report Version: 6
Interval Since Last Report: 62008 sec
Crashes Since Last Report: 2
Per-App Interval Since Last Report: 4706 sec
Per-App Crashes Since Last Report: 1
Anonymous UUID: 5610CC0F-0D30-4256-9E8A-20B877605F9A
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x00000000000000e2
Crashed Thread: 3
Thread 0: Dispatch queue: com.apple.main-thread
0 libSystem.B.dylib 0x9881a63a mach_msg_trap + 10
1 libSystem.B.dylib 0x9881ada7 mach_msg + 68
2 com.apple.CoreFoundation 0x9679301f __CFRunLoopRun + 2447
3 com.apple.CoreFoundation 0x96792014 CFRunLoopRunSpecific + 452
4 com.apple.CoreFoundation 0x967bc6c1 CFRunLoopRunInMode + 97
5 com.apple.Foundation 0x93f90798 -[NSConnection sendInvocation:internal:] + 2587
6 com.apple.Foundation 0x93f8fbf7 -[NSDistantObject forwardInvocation:] + 411
7 com.apple.CoreFoundation 0x967d2cf4 ___forwarding___ + 1108
8 com.apple.CoreFoundation 0x967d2832 _CF_forwarding_prep_0 + 50
9 org.viceteam.x64 0x000dd6e0 -[VICEApplication machineController] + 48
10 org.viceteam.x64 0x000dd73b +[VICEApplication theMachineController] + 75
11 org.viceteam.x64 0x000ccada -[VICEAppController getIntResource:] + 58
12 org.viceteam.x64 0x000c84f0 -[C64Controller updateMachineResources] + 64
13 org.viceteam.x64 0x000cc167 -[VICEAppController updateResources:] + 55
14 com.apple.Foundation 0x93f43eed _nsnote_callback + 176
15 com.apple.CoreFoundation 0x967990e9 __CFXNotificationPost + 905
16 com.apple.CoreFoundation 0x96798b1a _CFXNotificationPostNotification + 186
17 com.apple.Foundation 0x93f27cee -[NSNotificationCenter postNotificationName:object:userInfo:] + 128
18 org.viceteam.x64 0x000de76b -[VICEApplication postRemoteNotification:] + 171
19 com.apple.Foundation 0x93f4e5ed __NSThreadPerformPerform + 506
20 com.apple.CoreFoundation 0x96794b2b __CFRunLoopDoSources0 + 1563
21 com.apple.CoreFoundation 0x96792abf __CFRunLoopRun + 1071
22 com.apple.CoreFoundation 0x96792014 CFRunLoopRunSpecific + 452
23 com.apple.CoreFoundation 0x967bc6c1 CFRunLoopRunInMode + 97
24 com.apple.HIToolbox 0x945da308 RunCurrentEventLoopInMode + 392
25 com.apple.HIToolbox 0x945da003 ReceiveNextEventCommon + 354
26 com.apple.HIToolbox 0x945d9e88 BlockUntilNextEventMatchingListInMode + 81
27 com.apple.AppKit 0x95e03f81 _DPSNextEvent + 847
28 com.apple.AppKit 0x95e037f5 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 156
29 com.apple.AppKit 0x95dfe06e -[NSApplication run] + 821
30 org.viceteam.x64 0x000dc9aa -[VICEApplication runWithArgC:argV:] + 282
31 org.viceteam.x64 0x000db5a0 main + 448
32 org.viceteam.x64 0x00002a85 start + 53
Thread 1: Dispatch queue: NSFileHandle
0 libSystem.B.dylib 0x9883041e read$UNIX2003 + 10
1 com.apple.Foundation 0x93fa6e29 _NSReadFromFileDescriptor + 48
2 com.apple.Foundation 0x93ffefdc __-[NSConcreteFileHandle performActivity:modes:]_block_invoke_1 + 379
3 libSystem.B.dylib 0x9887514c _dispatch_source_latch_and_call + 62
4 libSystem.B.dylib 0x9883c181 _dispatch_source_invoke + 210
5 libSystem.B.dylib 0x9883b355 _dispatch_queue_invoke + 163
6 libSystem.B.dylib 0x9883b831 _dispatch_queue_drain + 258
7 libSystem.B.dylib 0x9883b2e4 _dispatch_queue_invoke + 50
8 libSystem.B.dylib 0x9883b102 _dispatch_worker_thread2 + 234
9 libSystem.B.dylib 0x9883ad61 _pthread_wqthread + 390
10 libSystem.B.dylib 0x9883abc6 start_wqthread + 30
Thread 2: Dispatch queue: com.apple.libdispatch-manager
0 libSystem.B.dylib 0x9883b71e kevent + 10
1 libSystem.B.dylib 0x9883c9eb _dispatch_mgr_invoke + 215
2 libSystem.B.dylib 0x9883b355 _dispatch_queue_invoke + 163
3 libSystem.B.dylib 0x9883b102 _dispatch_worker_thread2 + 234
4 libSystem.B.dylib 0x9883ad61 _pthread_wqthread + 390
5 libSystem.B.dylib 0x9883abc6 start_wqthread + 30
Thread 3 Crashed:
0 org.viceteam.x64 0x0006a26c drive_read_rom + 12
1 org.viceteam.x64 0x0005cc66 drivecpu_execute + 1222
2 org.viceteam.x64 0x00069c0e drivecpu_execute_all + 46
3 org.viceteam.x64 0x0006d8ec parallel_cpu_set_atn + 28
4 org.viceteam.x64 0x00038159 reset + 25
5 org.viceteam.x64 0x000a9ce2 tpicore_reset + 114
6 org.viceteam.x64 0x0002cfdf machine_specific_reset + 79
7 org.viceteam.x64 0x00012f97 machine_reset + 39 (machine.c:152)
8 org.viceteam.x64 0x0002164f maincpu_mainloop + 1103 (maincpu.c:439)
9 org.viceteam.x64 0x000136eb main_program + 1307 (main.c:240)
10 org.viceteam.x64 0x000df605 -[VICEMachine startMachineWithArgs:app:pool:] + 565
11 org.viceteam.x64 0x000df3bb +[VICEMachine startConnected:] + 459
12 com.apple.Foundation 0x93f4cf88 -[NSThread main] + 45
13 com.apple.Foundation 0x93f4cf38 __NSThread__main__ + 1499
14 libSystem.B.dylib 0x98830dd3 _pthread_start + 345
15 libSystem.B.dylib 0x98830b36 thread_start + 34
Thread 3 crashed with X86 Thread State (32-bit):
eax: 0x00000000 ebx: 0x00000000 ecx: 0x00000605 edx: 0x00000000
edi: 0x00740bb0 esi: 0x0005c7ae ebp: 0xb018db28 esp: 0xb018db28
ss: 0x0000001f efl: 0x00010246 eip: 0x0006a26c cs: 0x00000017
ds: 0x0000001f es: 0x0000001f fs: 0x0000001f gs: 0x00000037
cr2: 0x000000e2
IMHO, the controls attached to the canvas (formerly as a drawer) are a bit inconvenient: first they get duplicated on a multi canvas setup (x128)
and second you can't access them in full screen.
I really need to have a look at the win monitor... to "adopt" some features from there ;)
I have lots of ideas for making a useful debugger/monitor, because I especially hate the VICE monitor as it is right now.
Interface builder mockups please!
http://www.youtube.com/watch?v=tjcvR5McmSg
Hmmm... I just tested the snapshot here on my 10.6.1 and sound was ok. Also drag&dropped D64s loaded fine with warp mode toggling.
This is the first 10.6 hosted build on my system... Maybe something broke...
I already fixed some issues here...
Do you have more details for me? Vicerc, log, sysinfo, step-by-step guide
Process: x64 [88151]
Path: /Users/pelle/Applications/Emul/VICE/x64.app/Contents/MacOS/x64
Identifier: org.viceteam.x64
Version: ??? (2.1.16-r21487_20090912)
Code Type: X86 (Native)
Parent Process: launchd [136]
Date/Time: 2009-09-24 13:08:40.496 +0200
OS Version: Mac OS X 10.6.1 (10B504)
Report Version: 6
Interval Since Last Report: 499396 sec
Crashes Since Last Report: 5
Per-App Interval Since Last Report: 8933 sec
Per-App Crashes Since Last Report: 1
Anonymous UUID: 1513C508-EB4A-4B98-96D6-484D37DA7EEB
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000
Crashed Thread: 2
Thread 2 Crashed:
0 org.viceteam.x64 0x0008e80e 0x1000 + 579598
1 org.viceteam.x64 0x0004362f 0x1000 + 271919
2 org.viceteam.x64 0x00021b4b 0x1000 + 133963
3 org.viceteam.x64 0x000223ed 0x1000 + 136173
4 org.viceteam.x64 0x00024b08 0x1000 + 146184
5 org.viceteam.x64 0x000df46f 0x1000 + 910447
6 org.viceteam.x64 0x00027890 0x1000 + 157840
7 org.viceteam.x64 0x0001750f 0x1000 + 91407
8 org.viceteam.x64 0x0010321e 0x1000 + 1057310
9 com.apple.Foundation 0x91a8f964 -[NSThread main] + 45
10 com.apple.Foundation 0x91a8f914 __NSThread__main__ + 1499
11 libSystem.B.dylib 0x964c8f39 _pthread_start + 345
12 libSystem.B.dylib 0x964c8dbe thread_start + 34
Binary Images:
0x1000 - 0x171ff7 +org.viceteam.x64 ??? (2.1.16-r21487_20090912) <9D4235ED-DB23-2A2E-8B41-48945A48C0FE> /Users/pelle/Applications/Emul/VICE/x64.app/Contents/MacOS/x64
Model: MacPro3,1, BootROM MP31.006C.B05, 8 processors, Quad-Core Intel Xeon, 2.8 GHz, 10 GB, SMC 1.25f4
Graphics: ATI Radeon HD 2600 XT, ATI Radeon HD 2600, PCIe, 256 MB
Memory Module: global_name
Bluetooth: Version 2.2.1f7, 2 service, 1 devices, 1 incoming serial ports
Network Service: Ethernet 1, Ethernet, en0
PCI Card: ATI Radeon HD 2600, Display, Slot-1
Serial ATA Device: WDC WD3200AAJS-41VWA1, 298,09 GB
Serial ATA Device: WDC WD5000AAKS-41YGA1, 465,76 GB
Parallel ATA Device: PIONEER DVD-RW DVR-112D
USB Device: Keyboard Hub, 0x05ac (Apple Inc.), 0x1006, 0xfd500000
USB Device: USB-PS/2 Optical Mouse, 0x046d (Logitech Inc.), 0xc03e, 0xfd510000
USB Device: Apple Keyboard, 0x05ac (Apple Inc.), 0x0221, 0xfd520000
USB Device: Bluetooth USB Host Controller, 0x05ac (Apple Inc.), 0x8206, 0x5d200000
FireWire Device: built-in_hub, Up to 800 Mb/sec
FireWire Device: unknown_device, Unknown
MagerValp, your x64 is too old ;) The Bug was fixed in [21511] but you tried 2.1.16-r21487_20090912...
NEW: snapshots for x86_64 and clang are available!
Process: x64 [31144]
Path: /Users/pelle/src/vice/build/cocoa-10.6-clang/x86_64/vice-macosx-cocoa-x86_64-10.6-clang-2.1.17/x64.app/Contents/MacOS/x64
Identifier: org.viceteam.x64
Version: ??? (2.1.17)
Code Type: X86-64 (Native)
Parent Process: launchd [155]
Date/Time: 2009-10-18 17:58:28.336 +0200
OS Version: Mac OS X 10.6.1 (10B504)
Report Version: 6
Interval Since Last Report: 17926 sec
Crashes Since Last Report: 1
Per-App Interval Since Last Report: 98 sec
Per-App Crashes Since Last Report: 1
Anonymous UUID: 5610CC0F-0D30-4256-9E8A-20B877605F9A
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Application Specific Information:
*** error for object 0x4088000000000000: pointer being reallocated was not allocated
Thread 0 Crashed: Dispatch queue: com.apple.main-thread
0 libSystem.B.dylib 0x00007fff86ba1ff6 __kill + 10
1 libSystem.B.dylib 0x00007fff86c43072 abort + 83
2 libSystem.B.dylib 0x00007fff86c31d25 szone_error + 519
3 libSystem.B.dylib 0x00007fff86b5bb1e szone_realloc + 102
4 libSystem.B.dylib 0x00007fff86b5ba7b malloc_zone_realloc + 92
5 libSystem.B.dylib 0x00007fff86b67b13 realloc + 169
6 org.viceteam.x64 0x000000010000f7c9 0x100000000 + 63433
7 org.viceteam.x64 0x00000001000ec9b5 0x100000000 + 969141
8 org.viceteam.x64 0x00000001000ea991 0x100000000 + 960913
9 org.viceteam.x64 0x00000001000d7b71 0x100000000 + 883569
10 com.apple.CoreFoundation 0x00007fff8166d35c __invoking___ + 140
11 com.apple.CoreFoundation 0x00007fff8166d22d -[NSInvocation invoke] + 141
12 com.apple.CoreFoundation 0x00007fff81688f21 -[NSInvocation invokeWithTarget:] + 49
13 com.apple.CoreFoundation 0x00007fff8166a37c ___forwarding___ + 860
14 com.apple.CoreFoundation 0x00007fff81666458 _CF_forwarding_prep_0 + 232
15 com.apple.CoreFoundation 0x00007fff8166d35c __invoking___ + 140
16 com.apple.CoreFoundation 0x00007fff8166d22d -[NSInvocation invoke] + 141
17 com.apple.Foundation 0x00007fff82d70498 -[NSConnection dispatchInvocation:] + 181
18 com.apple.Foundation 0x00007fff82d6e725 -[NSConnection handleRequest:sequence:] + 1138
19 com.apple.Foundation 0x00007fff82d6e020 -[NSConnection handlePortCoder:] + 765
20 com.apple.Foundation 0x00007fff82d6dcdb -[NSConcretePortCoder dispatch] + 49
21 com.apple.Foundation 0x00007fff82d371a2 __NSFireMachPort + 270
22 com.apple.CoreFoundation 0x00007fff8165c1fe __CFMachPortPerform + 366
23 com.apple.CoreFoundation 0x00007fff8165bf84 __CFRunLoopDoSource1 + 356
24 com.apple.CoreFoundation 0x00007fff8163464d __CFRunLoopRun + 4413
25 com.apple.CoreFoundation 0x00007fff8163303f CFRunLoopRunSpecific + 575
26 com.apple.Foundation 0x00007fff82d53958 -[NSConnection sendInvocation:internal:] + 1969
27 com.apple.CoreFoundation 0x00007fff8166a37c ___forwarding___ + 860
28 com.apple.CoreFoundation 0x00007fff81666458 _CF_forwarding_prep_0 + 232
29 org.viceteam.x64 0x00000001000c96d4 0x100000000 + 825044
30 org.viceteam.x64 0x00000001000cbf9c 0x100000000 + 835484
31 org.viceteam.x64 0x00000001000cc702 0x100000000 + 837378
32 org.viceteam.x64 0x00000001000ca882 0x100000000 + 829570
33 com.apple.AppKit 0x00007fff84c98c31 -[NSOutlineView _dataSourceSetValue:forColumn:row:] + 97
34 com.apple.AppKit 0x00007fff84d55bb2 -[NSTableView textDidEndEditing:] + 541
35 com.apple.Foundation 0x00007fff82cf9926 _nsnote_callback + 167
36 com.apple.CoreFoundation 0x00007fff8163fe4a __CFXNotificationPost + 954
37 com.apple.CoreFoundation 0x00007fff8162c7f8 _CFXNotificationPostNotification + 200
38 com.apple.Foundation 0x00007fff82cf0890 -[NSNotificationCenter postNotificationName:object:userInfo:] + 101
39 com.apple.AppKit 0x00007fff849e6541 -[NSTextView(NSPrivate) _giveUpFirstResponder:] + 571
40 com.apple.AppKit 0x00007fff84a2b9a8 -[NSTextView(NSKeyBindingCommands) insertNewline:] + 485
41 com.apple.AppKit 0x00007fff849e5e09 -[NSTextView doCommandBySelector:] + 293
42 com.apple.AppKit 0x00007fff849da78b -[NSKeyBindingManager(NSKeyBindingManager_MultiClients) interpretEventAsCommand:forClient:] + 1966
43 com.apple.AppKit 0x00007fff849d9c9c -[NSTextInputContext handleEvent:] + 737
44 com.apple.AppKit 0x00007fff849d994e -[NSView interpretKeyEvents:] + 186
45 com.apple.AppKit 0x00007fff849d9727 -[NSTextView keyDown:] + 819
46 com.apple.AppKit 0x00007fff8494b6a9 -[NSWindow sendEvent:] + 8803
47 com.apple.AppKit 0x00007fff84880122 -[NSApplication sendEvent:] + 4717
48 com.apple.AppKit 0x00007fff84816acc -[NSApplication run] + 474
49 org.viceteam.x64 0x00000001000d54a1 0x100000000 + 873633
50 org.viceteam.x64 0x00000001000d368e 0x100000000 + 865934
51 org.viceteam.x64 0x00000001000016d4 0x100000000 + 5844
@MagerValp: sound and video buffers are currently unrelated. The sync loop in the emulator is driven and controlled by the sound sync. The video "sync" is only done in the rendering thread. There timestamped frames arrive from the emulator core and are blended accordingly for the current display frame.
[21641] adds a flicker fixer to the blend mode and cleans up parameters.
2009-10-25 22.17.02 [0x0-0x2ca2ca].org.viceteam.x64[64651] Reading configuration file `/Users/pelle/Library/Preferences/org.viceteam.x64/vicerc'.
2009-10-25 22.17.02 com.apple.launchd.peruser.501[155] ([0x0-0x2ca2ca].org.viceteam.x64[64651]) Exited with exit code: 255
2009-10-25 22.17.02 kernel The graphics driver has detected a corruption in its command stream.
@MagerValp: does [21645] fix your random crashes... I improved the locking of the GL contexts.I have updated to the latest svn, and I'll let you know if it crashes again.
@GANDALf: [21647] should fix your problem...
BTW: make sure to enable "Blend" sync draw mode before enabling flicker fixer.
macvice: SVN[21653] macosx: hold flicker fixed frame if emulator is pausedWorks great, thanks!
@bjorn: did you try the latest snapshot? I think I have already fixed this issue.I have not. I looked here (http://lallafa.de/files/vice/snapshots/) but was not sure which I should be downloading. Is there an explanation somewhere as to what the different versions are? I'm not a programmer so this is all very confusing for me.
bjorn, I'd suggest to use the 10.5 cocoa version. It has all features of the native version available. The 10.6 versions are experimental compiles on the newest Mac OS X.I had previously avoided the Cocoa version because it didn't seem to have all the features of the various X versions. I see that it is now more complete although the emulation of some of the other machines seems incomplete. I also find the UI somewhat difficult to adjust to because I'm used to Power64. I don't think an x86 version of that emulator will be forthcoming so I better get used to the Cocoa version of VICE. Thank you for explaining the naming scheme. I downloaded vice-macosx-gtk-i386+ppc-10.4-gcc40-2.1.18-r21642_20091025 and ran into a similar problem. Now I get this error:
Yes, I did not include the SDL framework as it increases the app size of each emulator significantly. Typically, SDL is installed as a system framework.Hmm, the do indeed bloat up the dmg quite a bit since you'd have to include it inside every app. Maybe you could include a single copy of the framework on the dmg? Or a .webloc?
It's impossible to enable double size or pal emulation in xplus4 - the VIC menu tries to set nonexisting VICII resources. I'm guessing it should be a TED menu?
The shift key issue on plus4 is now fixed, toow00t :)
* Changes in VICE 2.2
======================
** General
----------
- On autostart, do not change true drive emulation (TDE) anymore by
default. The old behaviour can be switched on again by specifiying
-autostart-handle-tde on the command line.
There is one drawback of this behaviour: If TDE is switched on, an
image attached must fit to the drive type set. For example, when you
attach a .D81, you must have the drive type set to 1581, or the
autostart will fail.
- Added automatic Warp mode during autostart. If this resource is enabled then
VICE automatically enables the warp mode and then loads a file. After
loading the warp mode is disabled again and then the program is started.
- Autostarting a PRG file can now be done in three different ways:
* "Virtual FS": This mode mounts the directory where the file resides as a
virtual filesystem on drive #8 and then loads the PRG via virtual drive
traps. This was the only way of autostarting in previous VICE versions
and is still the default.
* "Inject to RAM": The PRG file is loaded from VICE directly into the RAM of
the emulated machine. Then the memory setup of a Basic LOAD is simulated
and the program is run. This is the fastest mode available but may lack
compatibility as no actual load operation was performed in the emulator.
However, no drive setup is altered during the operation.
* "Diskimage": VICE creates a temporary new disk image and copies the
contents of the PRG file onto it. Then this image is mounted in drive #8
and the program is loaded from there. If TDE is enabled then the load
operation is most compatible. The disk image stays attached until a new
image is mounted.
- Improved PAL emulation is now available for Unix/Xaw XVideo mode, and
AmigaOS. Only the YUV packed modes work, the planar modes still use the
old code paths, though.
- Sound core has been reworked to enable lower latency of operation.
Approximately 50 ms latency values are now routinely reached, and some
people have reported that as low as 30 ms still works for them.
- New SDL port. See ReadmeSDL.txt for details.
- New win64 ports, both amd64/x64 and ia64 are supported (msvc compile only).
- New SDL based armle, mipsle, ppcbe and shle QNX 6.x ports.
- New SDL based M68k and sparc SunOS ports.
- New SDL based Syllable port.
- New SDL based Dingoo port.
- Remote monitor (in other words: TCP/IP interface to VICE monitor) added.
- Fixed non-6502/6510 CPU handling in monitor.
** C64/C128 changes
-------------------
- ReSID's resampler has been optimized with MMX assembly. Some long-standing
bugs in resample-interpolate mode were also fixed.
- ReSID-FP has been optimized, too. It clocks the analog parts at half the
rate now, which saves CPU during filter emulation especially for 6581 modes.
- Added SFX Sound Sampler and SFX Sound Expander emulation.
- Added EasyFlash cartridge emulation.
- Added paddle emulation.
- Added lightpen/lightgun emulation, currently only available for the following
ports: SDL, GTK+, cocoa, win32/win64 and msdos.
- Added support for the following userport joystick adapters: CGA/Protovision,
DXS/HIT, PET (normally only used on the PET/CBM2), Hummer (normally only
used on the C64DTV) and OEM (normally only used on the VIC20).
** C128 changes
---------------
- Added RAM banks 2 and 3 support.
- Improved the VDC emulation.
- Stereo SID $D7xx range support.
** VIC20 changes
----------------
- New cycle exact emulation core. Handles accesses to unconnected
address space and in-line graphics data changes correctly.
(fixes "Impossiblator 3" and others)
- Improved VIC emulation (in-line color/reverse mode changes on half-chars).
- Cartridge handling rewritten.
- Added Mega-Cart cartridge emulation.
- Added Final Expansion cartridge emulation.
- Default memory configuration changed from full to unexpanded.
- Added paddle emulation.
- Added lightpen/lightgun emulation, currently only available for the following
ports: SDL, GTK+, cocoa, win32/win64 and msdos.
- Corrected the joystick support, since the VIC20 can only have one joystick
attached on the joystick port.
- Added support for the following userport joystick adapters: CGA/Protovision
(normally only used on the C64/C128), PET (normally only used on the
PET/CBM2), Hummer (normally only used on the C64DTV) and OEM.
** PLUS4 changes
----------------
- Added Digibooster SID Cart add-on emulation.
- Added SID Cart joystick port emulation.
- Fixed bug in tape recording.
- Improved graphics handling.
** C64DTV changes
-----------------
- Replaced old DTVSID emulation with ReSID-DTV.
- Minor bug fixes and emulation improvements.
- Added support for the following userport joystick adapters: CGA/Protovision
(normally only used on the C64/C128), PET (normally only used for the PET),
Hummer and OEM (normally only used on the VIC20).
** PET changes
--------------
- Corrected the joystick support, since the only way a PET can use a joystick
is by a userport joystick adapter, the following userport joystick adapters
are currently supported: CGA/Protovision (normally only used on the
C64/C128), PET, Hummer (normally only used on the C64DTV) and OEM (normally
only used on the VIC20).
** CBM2 changes
---------------
- Corrected the joystick support, since the only way a CBM2 can use a joystick
is by a userport joystick adapter, the following userport joystick adapters
are currently supported: CGA/Protovision (normally only used on the
C64/C128), PET, Hummer (normally only used on the C64DTV) and OEM (normally
only used on the VIC20).
** Mac OS X changes
-------------------
- Cocoa port now supports all emulators
- Support for Mac OS X versions 10.4, 10.5, and 10.6 and PowerPC, Intel 32,
and 64 Bit Support.
- Cocoa UI redesign. Emulator window is reduced to emulation display only.
Emulator is controlled with the new control window. There disk and tape
images can be attached by clicking on the image or dragging files there.
Added the tape controls for the datasette and the status bar.
Added a master volume slider.
- Added SyncDraw display mode that does temporal filtering of the frames
generated by the machine (motion blur). This enhances the display quality in
moving scenes if the machine frame rate does not match the display refresh
rate (e.g. a 50 Hz C64 is shown on a 60 Hz LCD display)
- Added FLIcker Fixer to SyncDraw mode that does full frame reconstruction,
i.e. two half frames are buffered and displayed as a full frame. This helps
to reduce flicker in FLI modes but might introduce too much blur in other
modes.
- Attach image file dialogs now show the contents of the selected disk/tape
image and allow to pick a program to load from there.
- Emulator is now paused if Mac OS X goes to sleep.
- The CoreAudio sound driver was completely rewritten to support the updated
sound APIs found in the new Mac OS X versions.
- Added movie recording in QuickTime format (PowerPC and 32 Bit Intel only)
- Added support for dynamic loading of FFMPEG libraries installed via MacPorts
- Added support for dynamic loading of OpenCBM and Lame library
- Improved build scripts to support all current Mac OS X versions,
architectures, and compilers (gcc 4.0, gcc 4.2, clang)
- Libnet and libpcap updated to current versions
- Some keymap fixes in cocoa port
Process: x64 [20399]
Path: /Users/sid/Desktop/x64.app/Contents/MacOS/x64
Identifier: org.viceteam.x64
Version: ??? (2.2.1-r22310_20100221_trunk)
Code Type: X86 (Native)
Parent Process: launchd [177]
Date/Time: 2010-03-04 20:59:11.810 +0100
OS Version: Mac OS X 10.6.2 (10C540)
Report Version: 6
Interval Since Last Report: 227587 sec
Crashes Since Last Report: 7
Per-App Interval Since Last Report: 4 sec
Per-App Crashes Since Last Report: 2
Anonymous UUID: 01394610-8F45-459B-9C29-22778B7FA11D
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000
Crashed Thread: 3
Thread 0: Dispatch queue: com.apple.main-thread
0 libSystem.B.dylib 0x984808da mach_msg_trap + 10
1 libSystem.B.dylib 0x98481047 mach_msg + 68
2 com.apple.CoreFoundation 0x916a277f __CFRunLoopRun + 2079
3 com.apple.CoreFoundation 0x916a1864 CFRunLoopRunSpecific + 452
4 com.apple.CoreFoundation 0x916a1691 CFRunLoopRunInMode + 97
5 com.apple.Foundation 0x9356d84a -[NSConnection sendInvocation:internal:] + 2587
6 com.apple.Foundation 0x9356cca9 -[NSDistantObject forwardInvocation:] + 411
7 com.apple.CoreFoundation 0x916dfe54 ___forwarding___ + 1108
8 com.apple.CoreFoundation 0x916df982 _CF_forwarding_prep_0 + 50
9 org.viceteam.x64 0x000dee24 0x1000 + 908836
10 org.viceteam.x64 0x000dee64 0x1000 + 908900
11 org.viceteam.x64 0x000cf525 0x1000 + 845093
12 org.viceteam.x64 0x000cc02d 0x1000 + 831533
13 org.viceteam.x64 0x000cec33 0x1000 + 842803
14 com.apple.Foundation 0x935141c7 _nsnote_callback + 176
15 com.apple.CoreFoundation 0x916c09a9 __CFXNotificationPost + 905
16 com.apple.CoreFoundation 0x916c03da _CFXNotificationPostNotification + 186
17 com.apple.Foundation 0x93509094 -[NSNotificationCenter postNotificationName:object:userInfo:] + 128
18 org.viceteam.x64 0x000dfaa3 0x1000 + 912035
19 com.apple.Foundation 0x9352ade1 __NSThreadPerformPerform + 506
20 com.apple.CoreFoundation 0x916a4761 __CFRunLoopDoSources0 + 1201
21 com.apple.CoreFoundation 0x916a238f __CFRunLoopRun + 1071
22 com.apple.CoreFoundation 0x916a1864 CFRunLoopRunSpecific + 452
23 com.apple.CoreFoundation 0x916a1691 CFRunLoopRunInMode + 97
24 com.apple.HIToolbox 0x90239f0c RunCurrentEventLoopInMode + 392
25 com.apple.HIToolbox 0x90239cc3 ReceiveNextEventCommon + 354
26 com.apple.HIToolbox 0x90239b48 BlockUntilNextEventMatchingListInMode + 81
27 com.apple.AppKit 0x9787cac5 _DPSNextEvent + 847
28 com.apple.AppKit 0x9787c306 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 156
29 com.apple.AppKit 0x9783e49f -[NSApplication run] + 821
30 org.viceteam.x64 0x000de7fd 0x1000 + 907261
31 org.viceteam.x64 0x000dd67b 0x1000 + 902779
32 org.viceteam.x64 0x00002e95 0x1000 + 7829
Thread 1: Dispatch queue: com.apple.libdispatch-manager
0 libSystem.B.dylib 0x984a70ea kevent + 10
1 libSystem.B.dylib 0x984a7804 _dispatch_mgr_invoke + 215
2 libSystem.B.dylib 0x984a6cc3 _dispatch_queue_invoke + 163
3 libSystem.B.dylib 0x984a6a68 _dispatch_worker_thread2 + 234
4 libSystem.B.dylib 0x984a64f1 _pthread_wqthread + 390
5 libSystem.B.dylib 0x984a6336 start_wqthread + 30
Thread 2:
0 libSystem.B.dylib 0x984a6182 __workq_kernreturn + 10
1 libSystem.B.dylib 0x984a6718 _pthread_wqthread + 941
2 libSystem.B.dylib 0x984a6336 start_wqthread + 30
Thread 3 Crashed:
0 org.viceteam.x64 0x000fded9 SIDFP::clock_resample_interpolate(int&, short*, int, int) + 1145
1 org.viceteam.x64 0x000fd1a9 void interpolate<int (*) [2], PointPlotter<int> >(int (*) [2], int (*) [2], PointPlotter<int>, double) + 5721
2 org.viceteam.x64 0x0007b652 0x1000 + 501330
3 org.viceteam.x64 0x0007a756 0x1000 + 497494
4 org.viceteam.x64 0x00038592 0x1000 + 226706
5 org.viceteam.x64 0x0001becd 0x1000 + 110285
6 org.viceteam.x64 0x0001bb54 0x1000 + 109396
7 org.viceteam.x64 0x0001c9ad 0x1000 + 113069
8 org.viceteam.x64 0x0001c3cc 0x1000 + 111564
9 org.viceteam.x64 0x0001f2df 0x1000 + 123615
10 org.viceteam.x64 0x000bc0c4 0x1000 + 766148
11 org.viceteam.x64 0x0002afa1 0x1000 + 171937
12 org.viceteam.x64 0x00013d3e 0x1000 + 77118
13 org.viceteam.x64 0x000e04d8 0x1000 + 914648
14 org.viceteam.x64 0x000e0311 0x1000 + 914193
15 com.apple.Foundation 0x935148d8 -[NSThread main] + 45
16 com.apple.Foundation 0x93514888 __NSThread__main__ + 1499
17 libSystem.B.dylib 0x984adfbd _pthread_start + 345
18 libSystem.B.dylib 0x984ade42 thread_start + 34
Thread 4:
0 libSystem.B.dylib 0x984808da mach_msg_trap + 10
1 libSystem.B.dylib 0x98481047 mach_msg + 68
2 com.apple.opengl 0x95b2cedb glcDebugListener + 426
3 libSystem.B.dylib 0x984adfbd _pthread_start + 345
4 libSystem.B.dylib 0x984ade42 thread_start + 34
Thread 5:
0 libSystem.B.dylib 0x9848093a semaphore_timedwait_signal_trap + 10
1 libSystem.B.dylib 0x984ae445 _pthread_cond_wait + 1066
2 libSystem.B.dylib 0x984dd028 pthread_cond_timedwait_relative_np + 47
3 com.apple.CoreVideo 0x98dc115e CVDisplayLink::waitUntil(unsigned long long) + 386
4 com.apple.CoreVideo 0x98dbffd7 CVDisplayLink::runIOThread() + 747
5 com.apple.CoreVideo 0x98dbfcd0 startIOThread(void*) + 156
6 libSystem.B.dylib 0x984adfbd _pthread_start + 345
7 libSystem.B.dylib 0x984ade42 thread_start + 34
Thread 6:
0 libSystem.B.dylib 0x984a6182 __workq_kernreturn + 10
1 libSystem.B.dylib 0x984a6718 _pthread_wqthread + 941
2 libSystem.B.dylib 0x984a6336 start_wqthread + 30
Thread 7:
0 libSystem.B.dylib 0x9848093a semaphore_timedwait_signal_trap + 10
1 libSystem.B.dylib 0x984ae445 _pthread_cond_wait + 1066
2 libSystem.B.dylib 0x984dd028 pthread_cond_timedwait_relative_np + 47
3 com.apple.audio.CoreAudio 0x9189c965 CAGuard::WaitFor(unsigned long long) + 219
4 com.apple.audio.CoreAudio 0x9189f997 CAGuard::WaitUntil(unsigned long long) + 289
5 com.apple.audio.CoreAudio 0x9189d294 HP_IOThread::WorkLoop() + 1892
6 com.apple.audio.CoreAudio 0x9189cb2b HP_IOThread::ThreadEntry(HP_IOThread*) + 17
7 com.apple.audio.CoreAudio 0x9189ca42 CAPThread::Entry(CAPThread*) + 140
8 libSystem.B.dylib 0x984adfbd _pthread_start + 345
9 libSystem.B.dylib 0x984ade42 thread_start + 34
Thread 3 crashed with X86 Thread State (32-bit):
eax: 0x00000001 ebx: 0x00791fd0 ecx: 0x007748c8 edx: 0xa0b488c0
edi: 0x00774830 esi: 0x00000001 ebp: 0xb018d948 esp: 0xb018d8f0
ss: 0x0000001f efl: 0x00210286 eip: 0x000fded9 cs: 0x00000017
ds: 0x0000001f es: 0x0000001f fs: 0x0000001f gs: 0x00000037
cr2: 0x00000000
GCC 4.2 build does not have this problem.Ah, I'll have to try that.
@GANDALf: do you have a detailed bug report for this problem?
Issue 2 is really strange. Does anyone else have such problems?
Hmmm... the long time hang sounds like an overflow problem to me...
Is there a correlation with the new sync draw?
Or does it happen with "normal" drawing, too?
I downloaded Version 2.2.1-r22394_20100328_trunk for OSX10.5 and there is still the problem with the .dmg (remember "Issue 2", discussed a few posts back). I can open it, but cannot copy files from it in Finder by Dragging and Dropping or cut/paste. As a tip to other people having problems, just entering the Terminal and "cp -r /Volumes/[DMGFILE]/* DESTINATION/" works fine. Still haven't encountered this problem with any other .dmg that I have opened on my system, so indeed it seems to be something with the particular .dmg files in the MACVICE file area.
@jonno: the TFE/RR Net settings are in "Settings/Resource Inspector". There open "Peripherals/Cartridges/TFE"...
Unfortunately, I just found out that the code is in place but there is a regression opening the adapter... Will have a look
Hmmm... the long time hang sounds like an overflow problem to me...
Is there a correlation with the new sync draw?
Or does it happen with "normal" drawing, too?
TFE: setup receiver: broadcast=off mac=off multicast=off correct=off promiscuous=off hashfilter=off
TFE: setup receiver: broadcast=on mac=on multicast=off correct=on promiscuous=off hashfilter=off
TFE: set MAC address: 00:0c:64:03:13:37
The /dev/bpf? entries are still accessible (reboot resets them if its not set as a StartupItem)?
The /dev/bpf? entries are still accessible (reboot resets them if its not set as a StartupItem)?
What do you mean by 'set as a StartupItem'? (this is my first mac so still learning the terminology)
@a2retro: I had some trouble with name resolution, too. But by entering the IP the connect and BBSing works fine (e.g. 81.235.242.146)
The text you refer to is a blog entry with a timestamp of 2006. So it describes the state at that time and it is quite ooold...
For an up to date description on how to build on Mac OS X have a look at the source tree:
doc/MacOSX-Build.txt is the one you are looking for.
There you find information on how to build the extlibs, the external libraries used in VICE.
This includes working versions of libnet and libpcap.