Re: VICE rr-net behavior in WARP mode?

From: André Fachat <afachat_at_gmx.de>
Date: Wed, 01 Apr 2026 18:55:22 +0200
Message-ID: <19d49f89890.286d.b4d1f2b66006003a6acd9b1a7b71c3b1_at_gmx.de>
Hi Justin,

Rr-net is probably just not waiting long enough in warp mode, so it does 
not get the dhcp packet in time? Did you measure the dhcp response time 
with e.g. wireshark and conpare it with the (warped) wait time?

André

Am 1. April 2026 18:41:31 schrieb Justin <shadow_at_darksideresearch.com>:

> What I see is that in normal mode IP65 DHCP works with emulated rr-net, and 
> in warp mode it does not. It seems like IP65 loops very fast through its 
> DHCP code and then gives up because it thinks it does not get a response. 
> This could be seen as a logic issue with IP65 but the same code works 
> perfectly in realtime. Even In WARP it seems like it runs for long enough 
> that the DHCP response should be received before it gives up. It seems like 
> it never manages to pick up that there is a DHCP response when in WARP. I’m 
> running Vice 3.10 in ubuntu 26.04 LTS on ARM in UTM on an M5 Max MacBook 
> Pro. I’m not good enough at this to get a good grip on why IP65’s DHCP loop 
> doesn’t seem to work in WARP, but I tried to eliminate my own lack of skill 
> by testing with the IP65 code and build process and not my imports of 
> chunks of it into my project.
>
> Thanks,
>
> Justin
>
>> On Mar 31, 2026, at 13:46, groepaz <groepaz_at_gmx.net> wrote:
>>
>> Am Dienstag, 31. März 2026, 20:25:45 Mitteleuropäische Sommerzeit schrieb
>> Justin:
>>> I am seeing behavior that indicates that IP65 DHCP does not function
>>> reliably when VICE is in WARP mode. It seems to be a timing issue that is a
>>> function of VICE not emulating the receive buffer in the CS8900a. This is
>>> outside of my domain so I could easily be wrong and I thought I might find
>>> a sanity check here. I am trying to write an application that will use
>>> networking and I would like it to run in WARP mode reliably as it does some
>>> very heavy math for encryption functions and it is _SLOW_ in real time. I
>>> also kind of thought that if it all worked in VICE in WARP my odds would be
>>> better in turbo mode on the U64 20Mhz  or C64U 64Mhz modes.
>>
>> Warpmode still emulates everything, except no sound output. Everything just
>> runs faster, so for the program in the emulation there is no difference
>> between running in warpmode or not.
>>
>> Note that this is different to how CPU turbos work, those only speed up the
>> CPU itself, not the entire machine.
>>
>>
>> --
>>
>> http://hitmen.eu                 http://rr.pokefinder.org
>> http://vice-emu.sourceforge.net  http://magicdisk.untergrund.net
>>
>> Digital files cannot be made uncopyable, any more than water can be made not
>> wet.
>>
>>
>>
>>
>>
Received on 2026-04-01 19:00:02

Archive generated by hypermail 2.4.0.