- Joined
- Jul 17, 2022
- Messages
- 11
- Motherboard
- Asus ROG STRIX Z790-A
- CPU
- i5-12400F
- Graphics
- RTX 4060
Replaced the faulty code with this one (missing _T_0)you need to be editing the de compiled dsl file
Code:
While(One)
{
Store(ToInteger(Arg2), _T_0)
If(LEqual(_T_0, Zero))
{
Store("NBCI-Func Zero", Debug)
Return(Buffer(0x04)
{
0x21, 0x00, 0x11, 0x00
})
}
Else
{
If(LEqual(_T_0, 0x10))
{
Store("NBCI-Func 0x10", Debug)
CreateWordField(Arg3, 0x02, USRG)
CreateField(Arg3,0x0C,0x04,OBJS)
If(LEqual(USRG, 0x4452))
{
If(LEqual(ToInteger(OBJS), Zero))
{
Store(NBSH, Debug)
Return(NBSH)
}
}
}
}
}
}
Now it is compiling without errors, it is good or it could be done in a better way? (or working still have to test)