I think this should work ...

Code:
@  __MAXROM  0x1FFFF
@  __BADROM  0x1FD00 - 0x1FFFF
MPASM should then give a warning if the program goes above 1FD00.

Note: 2 underscores before both commands.

HTH,