vere: switches (mostly) to new event/effect routing

This commit is contained in:
Joe Bryan 2020-11-16 11:22:24 -08:00
parent e2ba632a41
commit 6ff7f12c16
3 changed files with 9 additions and 8 deletions

View File

@ -237,11 +237,7 @@ u3_auto_next(u3_auto* car_u, u3_noun* ovo)
u3_auto_work(egg_u);
// XX cons [tar] route onto wire
//
// *ovo = u3nt(u3nc(u3k(egg_u->tar), u3k(egg_u->wir)),
// u3k(egg_u->cad));
*ovo = u3nc(u3nc(u3_blip, u3k(egg_u->wir)),
*ovo = u3nc(u3nc(u3k(egg_u->tar), u3k(egg_u->wir)),
u3k(egg_u->cad));
return egg_u;
@ -289,7 +285,12 @@ u3_auto_kick(u3_auto* car_u, u3_noun act)
while ( u3_nul != act ) {
fec = u3h(act);
u3x_cell(fec, &pax, &cad);
u3_assent(u3r_p(pax, u3_blip, &wir));
// XX temporary backwards compatibility, remove
//
if ( c3n == u3r_p(pax, u3_blip, &wir) ) {
wir = pax;
}
while ( c3n == _auto_kick(car_u, u3k(wir), u3k(cad)) ) {
if ( car_u->nex_u ) {

View File

@ -1090,7 +1090,7 @@ u3_unix_initial_into_card(c3_c* arv_c)
{
u3_noun can = _unix_initial_update_dir(arv_c, arv_c);
return u3nc(u3nt(u3_blip, c3__sync, u3_nul),
return u3nc(u3nt(c3__c, c3__sync, u3_nul),
u3nq(c3__into, u3_nul, c3y, can));
}

View File

@ -1465,7 +1465,7 @@ _pier_boot_make(u3_noun who, u3_noun ven, u3_noun pil)
//
c3_assert( c3y == u3a_is_cell(ven) );
u3_noun wir = u3nq(u3_blip, c3__term, '1', u3_nul);
u3_noun wir = u3nq(c3__d, c3__term, '1', u3_nul);
u3_noun cad = u3nt(c3__boot, u3_Host.ops_u.lit, ven); // transfer
bot_u.use = u3nc(u3nc(wir, cad), bot_u.use);